35 lines
922 B
C#
35 lines
922 B
C#
namespace AYA.SlnSynorModel.BD
|
|
{
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Data.Entity.Spatial;
|
|
|
|
[Table("AsignacionRol")]
|
|
public partial class AsignacionRol
|
|
{
|
|
[Key]
|
|
public int id_asignacion { get; set; }
|
|
|
|
public int? id_usuario { get; set; }
|
|
|
|
public int? id_rol { get; set; }
|
|
|
|
public DateTime? fecha_creacion { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string usuario_creacion { get; set; }
|
|
|
|
public DateTime? fecha_modificacion { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string usuario_modificacion { get; set; }
|
|
|
|
public bool? estado { get; set; }
|
|
|
|
public virtual Rol Rol { get; set; }
|
|
|
|
public virtual Usuario Usuario { get; set; }
|
|
}
|
|
}
|