26 lines
548 B
C#
26 lines
548 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Entidades;
|
|
|
|
public partial class Propiedad
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
public long? Dni { get; set; }
|
|
|
|
public string Ubicacion { get; set; } = null!;
|
|
|
|
public int? Canthabitaciones { get; set; }
|
|
|
|
public bool? Tienecocina { get; set; }
|
|
|
|
public int? Piso { get; set; }
|
|
|
|
public string? Letra { get; set; }
|
|
|
|
public virtual ICollection<Contrato> Contratos { get; set; } = new List<Contrato>();
|
|
|
|
public virtual Propietario? DniNavigation { get; set; }
|
|
}
|