40 lines
1.2 KiB
C#
40 lines
1.2 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.Distrito")]
|
|
public partial class Distrito
|
|
{
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
|
public Distrito()
|
|
{
|
|
DireccionCliente = new HashSet<DireccionCliente>();
|
|
}
|
|
|
|
[Key]
|
|
[Column(Order = 0)]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
public int IdDistrito { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 1)]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
public int IdCanton { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string Descripcion { get; set; }
|
|
|
|
public int? AreaMetro { get; set; }
|
|
|
|
public bool? Estado { get; set; }
|
|
|
|
public virtual Canton Canton { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<DireccionCliente> DireccionCliente { get; set; }
|
|
}
|
|
}
|