retire add approve
This commit is contained in:
parent
8ce58201e9
commit
2b8713cbe0
19 changed files with 22944 additions and 43 deletions
|
|
@ -151,7 +151,12 @@ namespace BMA.EHR.Domain.Models.Retirement
|
|||
[Comment("ชื่อระดับตำแหน่ง old")]
|
||||
public string? posLevelNameOld { get; set; }
|
||||
|
||||
[Comment("step การอนุมัติ st1 = จทน.อนุมัตื,st2 = ผู้บังคับบัญชา อนุมัติ ")]
|
||||
public string? ApproveStep { get; set; } = string.Empty;
|
||||
|
||||
|
||||
|
||||
public List<RetirementResignApprover> Approvers { get; set; } = new();
|
||||
public virtual List<RetirementResignDoc> RetirementResignDocs { get; set; } = new List<RetirementResignDoc>();
|
||||
public virtual List<RetirementResignDebtDoc> RetirementResignDebtDocs { get; set; } = new List<RetirementResignDebtDoc>();
|
||||
public virtual List<RetirementResignCancel> RetirementResignCancels { get; set; } = new List<RetirementResignCancel>();
|
||||
|
|
|
|||
29
BMA.EHR.Domain/Models/Retirement/RetirementResignApprover.cs
Normal file
29
BMA.EHR.Domain/Models/Retirement/RetirementResignApprover.cs
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
using BMA.EHR.Domain.Models.Base;
|
||||
namespace BMA.EHR.Domain.Models.Retirement
|
||||
|
||||
{
|
||||
public class RetirementResignApprover : EntityBase
|
||||
{
|
||||
public RetirementResign RetirementResign { get; set; }
|
||||
|
||||
public int Seq { get; set; } = 0;
|
||||
|
||||
public string Prefix { get; set; } = string.Empty;
|
||||
|
||||
public string FirstName { get; set; } = string.Empty;
|
||||
|
||||
public string LastName { get; set; } = string.Empty;
|
||||
|
||||
public string PositionName { get; set; } = string.Empty;
|
||||
|
||||
public Guid ProfileId { get; set; } = Guid.Empty;
|
||||
|
||||
public Guid KeycloakId { get; set; } = Guid.Empty;
|
||||
|
||||
public string ApproveStatus { get; set; } = string.Empty;
|
||||
|
||||
public string Comment { get; set; } = string.Empty;
|
||||
|
||||
public string? ApproveType { get; set; } = string.Empty; // ผู้บังคับบัญชา = commander, ผู้มีอำนาจอนุมัติ = Approver
|
||||
}
|
||||
}
|
||||
|
|
@ -132,5 +132,6 @@ namespace BMA.EHR.Domain.Models.Retirement
|
|||
public string? posLevelNameOld { get; set; }
|
||||
[Required, Comment("อ้างอิงรับย้าย")]
|
||||
public virtual RetirementResign RetirementResign { get; set; }
|
||||
public List<RetirementResignCancelApprover> Approvers { get; set; } = new();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,29 @@
|
|||
using BMA.EHR.Domain.Models.Base;
|
||||
namespace BMA.EHR.Domain.Models.Retirement
|
||||
|
||||
{
|
||||
public class RetirementResignCancelApprover : EntityBase
|
||||
{
|
||||
public RetirementResignCancel RetirementResignCancel { get; set; }
|
||||
|
||||
public int Seq { get; set; } = 0;
|
||||
|
||||
public string Prefix { get; set; } = string.Empty;
|
||||
|
||||
public string FirstName { get; set; } = string.Empty;
|
||||
|
||||
public string LastName { get; set; } = string.Empty;
|
||||
|
||||
public string PositionName { get; set; } = string.Empty;
|
||||
|
||||
public Guid ProfileId { get; set; } = Guid.Empty;
|
||||
|
||||
public Guid KeycloakId { get; set; } = Guid.Empty;
|
||||
|
||||
public string ApproveStatus { get; set; } = string.Empty;
|
||||
|
||||
public string Comment { get; set; } = string.Empty;
|
||||
|
||||
public string? ApproveType { get; set; } = string.Empty; // ผู้บังคับบัญชา = commander, ผู้มีอำนาจอนุมัติ = Approver
|
||||
}
|
||||
}
|
||||
|
|
@ -149,7 +149,11 @@ namespace BMA.EHR.Domain.Models.Retirement
|
|||
[Comment("ชื่อระดับตำแหน่ง old")]
|
||||
public string? posLevelNameOld { get; set; }
|
||||
|
||||
[Comment("step การอนุมัติ st1 = จทน.อนุมัตื,st2 = ผู้บังคับบัญชา อนุมัติ ")]
|
||||
public string? ApproveStep { get; set; } = string.Empty;
|
||||
|
||||
|
||||
public List<RetirementResignEmployeeApprover> Approvers { get; set; } = new();
|
||||
public virtual List<RetirementResignEmployeeDoc> RetirementResignEmployeeDocs { get; set; } = new List<RetirementResignEmployeeDoc>();
|
||||
public virtual List<RetirementResignEmployeeDebtDoc> RetirementResignEmployeeDebtDocs { get; set; } = new List<RetirementResignEmployeeDebtDoc>();
|
||||
public virtual List<RetirementResignEmployeeCancel> RetirementResignEmployeeCancels { get; set; } = new List<RetirementResignEmployeeCancel>();
|
||||
|
|
|
|||
|
|
@ -0,0 +1,29 @@
|
|||
using BMA.EHR.Domain.Models.Base;
|
||||
namespace BMA.EHR.Domain.Models.Retirement
|
||||
|
||||
{
|
||||
public class RetirementResignEmployeeApprover : EntityBase
|
||||
{
|
||||
public RetirementResignEmployee RetirementResignEmployee { get; set; }
|
||||
|
||||
public int Seq { get; set; } = 0;
|
||||
|
||||
public string Prefix { get; set; } = string.Empty;
|
||||
|
||||
public string FirstName { get; set; } = string.Empty;
|
||||
|
||||
public string LastName { get; set; } = string.Empty;
|
||||
|
||||
public string PositionName { get; set; } = string.Empty;
|
||||
|
||||
public Guid ProfileId { get; set; } = Guid.Empty;
|
||||
|
||||
public Guid KeycloakId { get; set; } = Guid.Empty;
|
||||
|
||||
public string ApproveStatus { get; set; } = string.Empty;
|
||||
|
||||
public string Comment { get; set; } = string.Empty;
|
||||
|
||||
public string? ApproveType { get; set; } = string.Empty; // ผู้บังคับบัญชา = commander, ผู้มีอำนาจอนุมัติ = Approver
|
||||
}
|
||||
}
|
||||
|
|
@ -130,5 +130,6 @@ namespace BMA.EHR.Domain.Models.Retirement
|
|||
public string? posLevelNameOld { get; set; }
|
||||
[Required, Comment("อ้างอิงรับย้าย")]
|
||||
public virtual RetirementResignEmployee RetirementResignEmployee { get; set; }
|
||||
public List<RetirementResignEmployeeCancelApprover> Approvers { get; set; } = new();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,29 @@
|
|||
using BMA.EHR.Domain.Models.Base;
|
||||
namespace BMA.EHR.Domain.Models.Retirement
|
||||
|
||||
{
|
||||
public class RetirementResignEmployeeCancelApprover : EntityBase
|
||||
{
|
||||
public RetirementResignEmployeeCancel RetirementResignEmployeeCancel { get; set; }
|
||||
|
||||
public int Seq { get; set; } = 0;
|
||||
|
||||
public string Prefix { get; set; } = string.Empty;
|
||||
|
||||
public string FirstName { get; set; } = string.Empty;
|
||||
|
||||
public string LastName { get; set; } = string.Empty;
|
||||
|
||||
public string PositionName { get; set; } = string.Empty;
|
||||
|
||||
public Guid ProfileId { get; set; } = Guid.Empty;
|
||||
|
||||
public Guid KeycloakId { get; set; } = Guid.Empty;
|
||||
|
||||
public string ApproveStatus { get; set; } = string.Empty;
|
||||
|
||||
public string Comment { get; set; } = string.Empty;
|
||||
|
||||
public string? ApproveType { get; set; } = string.Empty; // ผู้บังคับบัญชา = commander, ผู้มีอำนาจอนุมัติ = Approver
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue