57 lines
1.5 KiB
C#
57 lines
1.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("Global.DireccionCliente")]
|
|
public partial class DireccionCliente
|
|
{
|
|
[Key]
|
|
[Column(Order = 0)]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
public int IdDireccion { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 1)]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
public int IdCliente { get; set; }
|
|
|
|
[StringLength(3)]
|
|
public string IdTipoDireccion { get; set; }
|
|
|
|
public int? IdProvincia { get; set; }
|
|
|
|
public int? IdCanton { get; set; }
|
|
|
|
public int? IdDistrito { get; set; }
|
|
|
|
public int? Secuencial { get; set; }
|
|
|
|
[Column(TypeName = "text")]
|
|
public string DirExacta { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string ApartadoPostal { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string CodigoPostal { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string ZonaPostal { get; set; }
|
|
|
|
[StringLength(10)]
|
|
public string NumCasaApto { get; set; }
|
|
|
|
[StringLength(10)]
|
|
public string CodigoAreaMetro { get; set; }
|
|
|
|
public virtual Distrito Distrito { get; set; }
|
|
|
|
public virtual Provincia Provincia { get; set; }
|
|
|
|
public virtual TipoDireccion TipoDireccion { get; set; }
|
|
}
|
|
}
|