hrms-api-backend/BMA.EHR.Domain/Models/Leave/Requests/LeaveRequestApprover.cs
harid 64c1021c52
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m18s
Migrate เก็บฟิลด์ใช้แสดงในรายงานลาเพิ่ม #2195
2026-01-16 09:25:22 +07:00

42 lines
1.5 KiB
C#

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