apiจัดสรร
This commit is contained in:
parent
0aa0aedba9
commit
15931fbaca
27 changed files with 64051 additions and 120 deletions
|
|
@ -15,7 +15,6 @@ namespace BMA.EHR.Domain.Models.Insignias
|
|||
public int Year { get; set; }
|
||||
[Comment("จำนวนทั้งหมด")]
|
||||
public int Total { get; set; }
|
||||
[Comment("ประเภทเครื่องราช")]
|
||||
public string Type { get; set; }
|
||||
public virtual List<InsigniaManageOrganiation> InsigniaManageOrganiations { get; set; } = new List<InsigniaManageOrganiation>();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
20
BMA.EHR.Domain/Models/Insignias/InsigniaManageOrganiation.cs
Normal file
20
BMA.EHR.Domain/Models/Insignias/InsigniaManageOrganiation.cs
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using BMA.EHR.Domain.Models.Base;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using BMA.EHR.Domain.Models.Documents;
|
||||
using BMA.EHR.Domain.Models.MetaData;
|
||||
|
||||
namespace BMA.EHR.Domain.Models.Insignias
|
||||
{
|
||||
public class InsigniaManageOrganiation : EntityBase
|
||||
{
|
||||
[Comment("จำนวนทั้งหมด")]
|
||||
public int Total { get; set; }
|
||||
[Comment("Fk Table OrganizationOrganization")]
|
||||
public OrganizationOrganization OrganizationOrganization { get; set; }
|
||||
[Comment("Fk Table InsigniaManage")]
|
||||
public InsigniaManage InsigniaManage { get; set; }
|
||||
public virtual List<InsigniaManageProfile> InsigniaManageProfiles { get; set; } = new List<InsigniaManageProfile>();
|
||||
}
|
||||
}
|
||||
29
BMA.EHR.Domain/Models/Insignias/InsigniaManageProfile.cs
Normal file
29
BMA.EHR.Domain/Models/Insignias/InsigniaManageProfile.cs
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using BMA.EHR.Domain.Models.Base;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using BMA.EHR.Domain.Models.Documents;
|
||||
using BMA.EHR.Domain.Models.MetaData;
|
||||
|
||||
namespace BMA.EHR.Domain.Models.Insignias
|
||||
{
|
||||
public class InsigniaManageProfile : EntityBase
|
||||
{
|
||||
[Comment("สถานะการคืน")]
|
||||
public bool Status { get; set; }
|
||||
[Comment("ยืมวันที่")]
|
||||
public DateTime? BorrowDate { get; set; }
|
||||
[Comment("Fk Table OrganizationOrganization Borrow")]
|
||||
public OrganizationOrganization? BorrowOrganization { get; set; }
|
||||
[Comment("คืนวันที่")]
|
||||
public DateTime? ReturnDate { get; set; }
|
||||
[Comment("Fk Table OrganizationOrganization Return")]
|
||||
public OrganizationOrganization? ReturnOrganization { get; set; }
|
||||
[Comment("เหตุผลคืน")]
|
||||
public string? ReturnReason { get; set; }
|
||||
[Comment("Fk Table InsigniaNoteProfile")]
|
||||
public InsigniaNoteProfile InsigniaNoteProfile { get; set; }
|
||||
[Comment("Fk Table InsigniaManageOrganiation")]
|
||||
public InsigniaManageOrganiation InsigniaManageOrganiation { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -43,5 +43,7 @@ namespace BMA.EHR.Domain.Models.Retirement
|
|||
public string? FutureWorkReason { get; set; }
|
||||
[Comment("ความคิดเห็นและข้อเสนอแนะอื่น ๆ ")]
|
||||
public string? Suggestion { get; set; }
|
||||
[Comment("กําหนดวันนัดหมายเพื่อทําการสัมภาษณ์การลาออก")]
|
||||
public DateTime? AppointDate { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue