30 lines
1 KiB
C#
30 lines
1 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("Prendario.Documentos")]
|
|
public partial class Documentos
|
|
{
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
|
public Documentos()
|
|
{
|
|
DocumentosPorTipo = new HashSet<DocumentosPorTipo>();
|
|
}
|
|
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
public int IdDocumento { get; set; }
|
|
|
|
[StringLength(150)]
|
|
public string Descripcion { get; set; }
|
|
|
|
public bool? Estado { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<DocumentosPorTipo> DocumentosPorTipo { get; set; }
|
|
}
|
|
}
|