using System; using System.Collections.Generic; namespace Entidades; public partial class Venta { public long Id { get; set; } public decimal Monto { get; set; } public long? IdVendedor { get; set; } public long? IdComprador { get; set; } public int? Idestado { get; set; } public int? Idpropiedad { get; set; } public DateTime? Fechainicio { get; set; } public DateTime? Fechafinal { get; set; } public int Iddivisa { get; set; } public virtual ICollection Contratos { get; set; } = new List(); public virtual Cliente? IdCompradorNavigation { get; set; } public virtual Cliente? IdVendedorNavigation { get; set; } public virtual Divisa IddivisaNavigation { get; set; } = null!; public virtual Estadoventa? IdestadoNavigation { get; set; } public virtual Propiedade? IdpropiedadNavigation { get; set; } }