39 lines
1.5 KiB
C#
39 lines
1.5 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.Decision")]
|
|
public partial class Decision
|
|
{
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
|
public Decision()
|
|
{
|
|
DecisionPorEtapa = new HashSet<DecisionPorEtapa>();
|
|
DatosAprobacion = new HashSet<DatosAprobacion>();
|
|
HistorialDecision = new HashSet<HistorialDecision>();
|
|
}
|
|
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
public int IdDecision { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(50)]
|
|
public string Descripcion { get; set; }
|
|
|
|
public bool Estado { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<DecisionPorEtapa> DecisionPorEtapa { 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; }
|
|
}
|
|
}
|