hrms-api-backend/BMA.EHR.Domain/Models/Retirement/RetirementResign.cs
2023-08-08 11:04:41 +07:00

40 lines
1.8 KiB
C#

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;
}
}