api ลาออก
This commit is contained in:
parent
7b038f0131
commit
ed52581e58
15 changed files with 788 additions and 72 deletions
40
BMA.EHR.Domain/Models/Retirement/RetirementResign.cs
Normal file
40
BMA.EHR.Domain/Models/Retirement/RetirementResign.cs
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using BMA.EHR.Domain.Models.Base;
|
||||
using BMA.EHR.Domain.Models.MetaData;
|
||||
using BMA.EHR.Domain.Models.Organizations;
|
||||
using BMA.EHR.Domain.Models.Documents;
|
||||
using BMA.EHR.Domain.Models.HR;
|
||||
|
||||
namespace BMA.EHR.Domain.Models.Retirement
|
||||
{
|
||||
public class RetirementResign : EntityBase
|
||||
{
|
||||
[Comment("สถานที่ยื่นขอลาออกราชการ")]
|
||||
public string? Location { get; set; } = string.Empty;
|
||||
[Comment("วันที่ยื่นขอออกราชการ")]
|
||||
public DateTime? SendDate { get; set; }
|
||||
|
||||
[Comment("วันที่ขอออกราชการ")]
|
||||
public DateTime? ActiveDate { get; set; }
|
||||
[Comment("เหตุผลที่ลาออกจากราชการ")]
|
||||
public string? Reason { get; set; } = string.Empty;
|
||||
[Comment("Id ผู้ลาออก")]
|
||||
public Profile Profile { get; set; }
|
||||
[Comment("Id ประเภทตำแหน่ง")]
|
||||
public PositionType? PositionType { get; set; }
|
||||
[Comment("Id สายงาน")]
|
||||
public PositionLine? PositionLine { get; set; }
|
||||
|
||||
[Comment("Id ระดับ")]
|
||||
public PositionLevel? PositionLevel { get; set; }
|
||||
[Comment("Id ตำแหน่งทางการบริหาร")]
|
||||
public PositionExecutive? PositionExecutive { get; set; }
|
||||
[Comment("Id สังกัด")]
|
||||
public OrganizationOrganization? OrganizationOrganization { get; set; }
|
||||
[Comment("สถานะลาออก")]
|
||||
public string? Status { get; set; } = "PENDING";
|
||||
[Comment("สถานะการใช้งาน")]
|
||||
public bool IsActive { get; set; } = true;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue