put in signal for edit

This commit is contained in:
2025-09-25 17:21:13 +10:00
parent 4b85a90b71
commit ee19397f59
171 changed files with 12181 additions and 15 deletions
@@ -0,0 +1,53 @@
namespace FamilyTreeAPI.Entities;
public class ChildCriteria
{
public int FatherId { get; set; }
public int MotherId { get; set; }
}
public class FamilyCriteria
{
public bool UseFather { get; set; }
public bool UseMother { get; set; }
}
public class PersonCriteria
{
public int Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
}
public class PersonForSave
{
public PersonDto Person { get; set; }
public string? FormData { get; set; }
public string? FileName { get; set; }
}
public partial class PersonDto
{
public PersonDto()
{
}
public int Id { get; set; }
public string? FirstName { get; set; }
public string? LastName { get; set; }
public string? Email { get; set; }
public string? Phone { get; set; }
public string? Image { get; set; }
public string? Sex { get; set; }
public string? Address { get; set; }
public bool? Alive { get; set; }
public string? dob { get; set; }
public int? FatherId { get; set; }
public int? MotherId { get; set; }
public List<RelationShipDto>? RelationShips { get; set; }
}