put in signal for edit
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user