36 lines
889 B
C#
36 lines
889 B
C#
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;
|
|
public string CodeId { get; set; }
|
|
public string Description { get; set; }
|
|
}
|
|
public class LookupEditDto
|
|
{
|
|
public int Id { get; set; } = 0;
|
|
public string CodeId { get; set; }
|
|
public string Description { get; set; }
|
|
public bool Active { get; set; }
|
|
public string Type { get; set; }
|
|
}
|