add in import person and logic
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user