TFS_ANTIGUO/AYA.SlnSynor/AYA.SlnSynorModel/BD/Rol.cs
jnunez 83b5c2abd7 Segundo
git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C4
2018-06-05 22:51:02 +00:00

42 lines
1.3 KiB
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("Rol")]
public partial class Rol
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public Rol()
{
AsignacionRol = new HashSet<AsignacionRol>();
}
[Key]
public int id_rol { get; set; }
[StringLength(50)]
public string nombre { get; set; }
[StringLength(100)]
public string descripcion { 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; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<AsignacionRol> AsignacionRol { get; set; }
}
}