40 lines
1.3 KiB
C#
40 lines
1.3 KiB
C#
namespace ULA.Davivienda.PrendarioModel.Prendario
|
|
{
|
|
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()
|
|
{
|
|
Cliente = new HashSet<Cliente>();
|
|
Cliente1 = new HashSet<Cliente>();
|
|
}
|
|
|
|
[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<Cliente> Cliente { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<Cliente> Cliente1 { get; set; }
|
|
}
|
|
}
|