TFS_ANTIGUO/PrendarioDavivienda/SlnDavivienda/ULA.Davivienda.PrendarioModel/Prendario/Motivo.cs

42 lines
1.6 KiB
C#

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<DatosAprobacion>();
HistorialDecision = new HashSet<HistorialDecision>();
MotivoSolicitud = new HashSet<MotivoSolicitud>();
}
[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> DatosAprobacion { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<HistorialDecision> HistorialDecision { get; set; }
public virtual TipoMotivo TipoMotivo { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<MotivoSolicitud> MotivoSolicitud { get; set; }
}
}