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

52 lines
2.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.CondicionesGeneralesCredito")]
public partial class CondicionesGeneralesCredito
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public CondicionesGeneralesCredito()
{
CondicionesFormalizacion = new HashSet<CondicionesFormalizacion>();
CondicionesVerificacionFormalizacion = new HashSet<CondicionesVerificacionFormalizacion>();
FormalizacionCondicionesGenerales = new HashSet<FormalizacionCondicionesGenerales>();
}
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public int IdCondicion { get; set; }
public int? IdTipoCondicion { get; set; }
[Required]
public string Descripcion { get; set; }
public bool Habilitado { get; set; }
[StringLength(100)]
public string UsuarioCreador { get; set; }
public DateTime? FechaCreacion { get; set; }
[StringLength(100)]
public string UsuarioModificado { get; set; }
public DateTime? FechaModificacion { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<CondicionesFormalizacion> CondicionesFormalizacion { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<CondicionesVerificacionFormalizacion> CondicionesVerificacionFormalizacion { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<FormalizacionCondicionesGenerales> FormalizacionCondicionesGenerales { get; set; }
public virtual TipoCondicion TipoCondicion { get; set; }
}
}