แก้ api ลา

This commit is contained in:
kittapath 2024-11-18 18:43:46 +07:00
parent d08b4ca723
commit 4822110533
20 changed files with 20695 additions and 2783 deletions

View file

@ -9,6 +9,8 @@ namespace BMA.EHR.Domain.Models.Insignias
public int Total { get; set; }
[Comment("รหัสหน่วยงาน")]
public Guid OrganizationId { get; set; }
[Comment("รหัสหน่วยงาน")]
public string? Organization { get; set; }
//public OrganizationOrganization OrganizationOrganization { get; set; }
[Comment("Fk Table InsigniaManage")]
public InsigniaManage InsigniaManage { get; set; }

View file

@ -18,6 +18,7 @@ namespace BMA.EHR.Domain.Models.Insignias
[Comment("Fk Table OrganizationOrganization Borrow")]
//public OrganizationOrganization? BorrowOrganization { get; set; }
public Guid? BorrowOrganizationId { get; set; }
public string? BorrowOrganization { get; set; }
[Comment("คืนวันที่")]
public DateTime? ReturnDate { get; set; }
@ -25,6 +26,7 @@ namespace BMA.EHR.Domain.Models.Insignias
[Comment("Fk Table OrganizationOrganization Return")]
//public OrganizationOrganization? ReturnOrganization { get; set; }
public Guid? ReturnOrganizationId { get; set; }
public string? ReturnOrganization { get; set; }
[Comment("เหตุผลคืน")]
public string? ReturnReason { get; set; }

View file

@ -11,13 +11,6 @@ namespace BMA.EHR.Domain.Models.Insignias
[MaxLength(200)]
public string? Name { get; set; }
public int Year { get; set; }
// public DateTime StartDate { get; set; }
// public DateTime EndDate { get; set; }
// [MaxLength(50)]
// public int Amount { get; set; }
// public Document? ReliefDoc { get; set; }
// [Comment("ราบการยื่นขอ")]
// public int Round { get; set; } = 1;
public virtual List<InsigniaNoteProfile> InsigniaNoteProfiles { get; set; }
public virtual List<InsigniaNoteDoc> InsigniaNoteDocs { get; set; }
}

View file

@ -76,5 +76,7 @@ namespace BMA.EHR.Domain.Models.Insignias
public string? PosNo { get; set; }
public double? Amount { get; set; }
public double? PositionSalaryAmount { get; set; }
public Guid? RootId { get; set; }
public string? Root { get; set; }
}
}

View file

@ -71,7 +71,8 @@ namespace BMA.EHR.Domain.Models.Insignias
public string? PosNo { get; set; }
public double? Amount { get; set; }
public double? PositionSalaryAmount { get; set; }
public string? LastInsigniaName { get; set; }
public Guid? RootId { get; set; }
public string? Root { get; set; }
}
}