34 lines
1.2 KiB
C#
34 lines
1.2 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.Provincia")]
|
|
public partial class Provincia
|
|
{
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
|
public Provincia()
|
|
{
|
|
Canton = new HashSet<Canton>();
|
|
DireccionCliente = new HashSet<DireccionCliente>();
|
|
}
|
|
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
public int IdProvincia { 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<Canton> Canton { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<DireccionCliente> DireccionCliente { get; set; }
|
|
}
|
|
}
|