TFS_ANTIGUO/SInCathay/ULA.Cathay.CreditoModel/Credito/PermisoSBNBCCR.cs

31 lines
1 KiB
C#

namespace ULA.Cathay.CreditoModel.Credito
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("Catalogos.PermisoSBNBCCR")]
public partial class PermisoSBNBCCR
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public PermisoSBNBCCR()
{
CaratulaCredito = new HashSet<CaratulaCredito>();
}
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public int CodigoPermisoSBNBCCR { get; set; }
[Required]
[StringLength(50)]
public string DescPermisoSBNBCCR { get; set; }
public bool Estado { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<CaratulaCredito> CaratulaCredito { get; set; }
}
}