namespace ULA.Davivienda.PrendarioModel.Prendario { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("Catalogos.Motivo")] public partial class Motivo { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public Motivo() { DatosAprobacion = new HashSet(); HistorialDecision = new HashSet(); MotivoSolicitud = new HashSet(); } [Key] [DatabaseGenerated(DatabaseGeneratedOption.None)] public int IdMotivo { get; set; } public int? IdTipoMotivo { get; set; } [StringLength(250)] public string Descripcion { get; set; } public bool? Estado { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection DatosAprobacion { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection HistorialDecision { get; set; } public virtual TipoMotivo TipoMotivo { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection MotivoSolicitud { get; set; } } }