nomás me faltan los put para propiedades
Signed-off-by: fede <federico.nicolas.polidoro@gmail.com>
This commit is contained in:
@@ -101,6 +101,10 @@ public partial class AlquilaFacilContext : DbContext
|
||||
entity.Property(e => e.Email)
|
||||
.HasMaxLength(50)
|
||||
.HasColumnName("email");
|
||||
entity.Property(e => e.Habilitado)
|
||||
.HasDefaultValueSql("b'1'")
|
||||
.HasColumnType("bit(1)")
|
||||
.HasColumnName("habilitado");
|
||||
entity.Property(e => e.Nombre)
|
||||
.HasMaxLength(20)
|
||||
.HasColumnName("nombre");
|
||||
|
||||
@@ -21,6 +21,8 @@ public partial class Cliente
|
||||
|
||||
public string? Token { get; set; }
|
||||
|
||||
public ulong Habilitado { get; set; }
|
||||
|
||||
public virtual ICollection<Contrato> ContratoDniinquilinoNavigations { get; set; } = new List<Contrato>();
|
||||
|
||||
public virtual ICollection<Contrato> ContratoDnipropietarioNavigations { get; set; } = new List<Contrato>();
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace Entidades.Dto;
|
||||
public class AltaPropiedadDto {
|
||||
public string Ubicacion { get; set; } = null!;
|
||||
public int Canthabitaciones { get; set; }
|
||||
public int? Piso { get; set; } = null;
|
||||
public string? Letra { get; set; } = null;
|
||||
public string Email { get; set; } = string.Empty;
|
||||
public int Idtipropiedad { get; set; }
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
namespace Entidades.Dto;
|
||||
public class PropiedadDto {
|
||||
public string Ubicacion { get; set; } = null!;
|
||||
public int Canthabitaciones { get; set; }
|
||||
public int? Piso { get; set; }
|
||||
public string? Letra { get; set; }
|
||||
public string Email { get; set; }
|
||||
public int Idtipropiedad { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace Entidades.Dto;
|
||||
public class PropiedadesDto {
|
||||
public int id { get; set; }
|
||||
public string Ubicacion { get; set; } = "";
|
||||
public int canthabitaciones { get; set; }
|
||||
public string piso { get; set; } = "";
|
||||
public string letra { get; set; } = "";
|
||||
public string TipoPropiedad { get; set; } = "";
|
||||
}
|
||||
Reference in New Issue
Block a user