TFS_ANTIGUO/AYA.SlnSynor/AYA.SlnSynorModel/BD/Usuario.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

57 lines
2 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("Usuario")]
public partial class Usuario
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public Usuario()
{
AsignacionRol = new HashSet<AsignacionRol>();
ConvocadosPropuestaNormativa = new HashSet<ConvocadosPropuestaNormativa>();
PropuestaNormativa = new HashSet<PropuestaNormativa>();
}
[Key]
public int id_usuario { get; set; }
[Column("usuario")]
[StringLength(50)]
public string usuario1 { get; set; }
[StringLength(100)]
public string nombre { get; set; }
[StringLength(100)]
public string email { get; set; }
[StringLength(200)]
public string password { 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; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<ConvocadosPropuestaNormativa> ConvocadosPropuestaNormativa { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<PropuestaNormativa> PropuestaNormativa { get; set; }
}
}