14 lines
334 B
C#
14 lines
334 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace back.Entities
|
|
{
|
|
public class Persona : BaseEntity
|
|
{
|
|
public string Name { get; set; } = string.Empty;
|
|
public string Surname { get; set; } = string.Empty;
|
|
|
|
[JsonIgnore]
|
|
public virtual ICollection<Casa>? Casas { get; set; }
|
|
}
|
|
}
|