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

36 lines
1.3 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.Morosidad")]
public partial class Morosidad
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public Morosidad()
{
Cliente = new HashSet<Cliente>();
ParamCategoriaRiesgo = new HashSet<ParamCategoriaRiesgo>();
}
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public int IdMorosidad { get; set; }
[StringLength(200)]
public string Descripcion { get; set; }
public int? DiasTope { get; set; }
public bool? Estado { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<Cliente> Cliente { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<ParamCategoriaRiesgo> ParamCategoriaRiesgo { get; set; }
}
}