feat: primera implementacion propiedades ABM
Signed-off-by: fede <federico.nicolas.polidoro@gmail.com>
This commit is contained in:
2
Entidades/Dto/ServicioAPropiedadDto.cs
Normal file
2
Entidades/Dto/ServicioAPropiedadDto.cs
Normal file
@@ -0,0 +1,2 @@
|
||||
namespace Entidades.Dto;
|
||||
public record ServicioAPropiedadDto(int propiedadid, List<int> idServicios);
|
||||
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Entidades;
|
||||
|
||||
@@ -9,5 +10,6 @@ public partial class Servicio
|
||||
|
||||
public string Descripcion { get; set; } = null!;
|
||||
|
||||
[JsonIgnore]
|
||||
public virtual ICollection<Propiedade> IdPropiedads { get; set; } = new List<Propiedade>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user