using System; using System.Collections.Generic; namespace Entidades; public partial class Contrato { public long id { get; set; } public DateTime fechainicio { get; set; } public decimal indiceactualizacion { get; set; } public decimal monto { get; set; } public long? dniinquilino { get; set; } public long? dnipropietario { get; set; } public int? idpropiedad { get; set; } public int cantgarantemin { get; set; } public ulong tieneopcionventa { get; set; } public long? idventa { get; set; } public virtual ICollection Defectos { get; set; } = new List(); public virtual Cliente? dniinquilinoNavigation { get; set; } public virtual Cliente? dnipropietarioNavigation { get; set; } public virtual Propiedade? idpropiedadNavigation { get; set; } public virtual Venta? idventaNavigation { get; set; } public virtual ICollection dnigarantes { get; set; } = new List(); public virtual ICollection idcanons { get; set; } = new List(); }