add in import person and logic

This commit is contained in:
2025-08-21 22:52:29 +10:00
parent 33a927ceb0
commit d0add2dd03
7 changed files with 265 additions and 10379 deletions
+18
View File
@@ -1,5 +1,23 @@
namespace FamilyTreeAPI.Entities;
public class CodeDto<T>
{
public T Code { get; set; }
public string Description { get; set; }
}
//using to store id from file then after insert now the real id from db
// the put that in and update the db
public class MappingFatherMother
{
public int TId { get; set; }
public int IId { get; set; }
public int TFatherId { get; set; }
public int TMotherId { get; set; }
public int IFatherId { get; set; }
public int IMotherId { get; set; }
}
public class LookupDto
{
public int Id { get; set; } = 0;