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

90 lines
4.5 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.Moneda")]
public partial class Moneda
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public Moneda()
{
CertificadosMandato = new HashSet<CertificadosMandato>();
ControlCartera = new HashSet<ControlCartera>();
DesemboloDetalleOrdenCompra = new HashSet<DesemboloDetalleOrdenCompra>();
DesembolsoDatosGenerales = new HashSet<DesembolsoDatosGenerales>();
DesembolsoFacturas = new HashSet<DesembolsoFacturas>();
FacturasContratosOrdenesDE = new HashSet<FacturasContratosOrdenesDE>();
GestionRenovacionLineas = new HashSet<GestionRenovacionLineas>();
HojaSeleccion = new HashSet<HojaSeleccion>();
FacturasContratosOrdenes = new HashSet<FacturasContratosOrdenes>();
Oferta = new HashSet<Oferta>();
OfertaFacilidades = new HashSet<OfertaFacilidades>();
OfertaOperaciones = new HashSet<OfertaOperaciones>();
}
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public int IdMoneda { get; set; }
[StringLength(30)]
public string Descripcion { get; set; }
public int? IdNacionalidad { get; set; }
[StringLength(5)]
public string Simbolo { get; set; }
[StringLength(5)]
public string Nemonico { get; set; }
public bool? DefaultLocal { get; set; }
public bool? DefaultExtranjera { get; set; }
public bool? DefaultCredito { get; set; }
public bool? Estado { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<CertificadosMandato> CertificadosMandato { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<ControlCartera> ControlCartera { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<DesemboloDetalleOrdenCompra> DesemboloDetalleOrdenCompra { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<DesembolsoDatosGenerales> DesembolsoDatosGenerales { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<DesembolsoFacturas> DesembolsoFacturas { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<FacturasContratosOrdenesDE> FacturasContratosOrdenesDE { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<GestionRenovacionLineas> GestionRenovacionLineas { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<HojaSeleccion> HojaSeleccion { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<FacturasContratosOrdenes> FacturasContratosOrdenes { get; set; }
public virtual Nacionalidad Nacionalidad { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<Oferta> Oferta { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<OfertaFacilidades> OfertaFacilidades { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<OfertaOperaciones> OfertaOperaciones { get; set; }
}
}