using BMA.EHR.Domain.Models.Base; using Microsoft.EntityFrameworkCore; namespace BMA.EHR.Domain.Models.Leave.Requests { public class LeaveRequestApprover: EntityBase { public LeaveRequest LeaveRequest { 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; [Comment("ประเภทระดับตำแหน่ง")] public string PositionLevelName { get; set; } = string.Empty; [Comment("ตำแหน่งทางการบริหาร")] public string PosExecutiveName { get; set; } = string.Empty; [Comment("สังกัด")] public string OrganizationName { get; set; } = string.Empty; [Comment("ตำแหน่งใต้ลายเช็นต์")] public string? PositionSign { 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 } }