36 lines
1.1 KiB
C#
36 lines
1.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.Nacionalidad")]
|
|
public partial class Nacionalidad
|
|
{
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
|
public Nacionalidad()
|
|
{
|
|
Moneda = new HashSet<Moneda>();
|
|
}
|
|
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
public int IdNacionalidad { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string Pais { get; set; }
|
|
|
|
[StringLength(3)]
|
|
public string Abreviatura { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string Descripcion { get; set; }
|
|
|
|
public bool? Estado { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<Moneda> Moneda { get; set; }
|
|
}
|
|
}
|