using System; using System.ComponentModel.DataAnnotations; using BMA.EHR.Domain.Models.Base; using Microsoft.EntityFrameworkCore; namespace BMA.EHR.Domain.Models.HR { public class ProfileGovernmentHistory : EntityBase { [Comment("เหตุผลกรณีไม่ตรงวัน")] public string? ReasonSameDate { get; set; } [Comment("Id สังกัด")] public Guid? OcId { get; set; } [Comment("สังกัด")] public string? Oc { get; set; } [Comment("Id ตำแหน่ง")] public Guid? PositionId { get; set; } [Comment("ตำแหน่ง")] public string? Position { get; set; } [Comment("Id เลขที่ตำแหน่ง")] public Guid? PosNoId { get; set; } [Comment("เลขที่ตำแหน่ง")] public string? PosNo { get; set; } [Comment("สายงาน")] public string? PositionLine { get; set; } [Comment("ประเภทตำแหน่ง")] public string? PositionType { get; set; } [Comment("ระดับตำแหน่ง")] public string? PositionLevel { get; set; } [Comment("ตำแหน่งทางการบริหาร")] public string? PositionExecutive { get; set; } [Comment("ตำแหน่ง")] public string? PositionEmployeePosition { get; set; } [Comment("ด้านของตำแหน่ง")] public string? PositionEmployeePositionSide { get; set; } [Comment("ระดับชั้นงาน")] public string? PositionEmployeeLevel { get; set; } [Comment("กลุ่มงาน")] public string? PositionEmployeeGroup { get; set; } [Comment("วันที่สั่งบรรจุ")] public DateTime? DateAppoint { get; set; } [Comment("เริ่มปฎิบัติราชการ")] public DateTime? DateStart { get; set; } [Comment("วันเกษียณอายุ")] public string? RetireDate { get; set; } [Comment("อายุราชการ")] public string? GovAge { get; set; } [Comment("ขาดราชการ")] public int? GovAgeAbsent { get; set; } = 0; [Comment("อายุราชการเกื้อกูล")] public int? GovAgePlus { get; set; } = 0; public virtual Profile? Profile { get; set; } } }