using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations; using BMA.EHR.Domain.Models.Base; using BMA.EHR.Domain.Models.HR; namespace BMA.EHR.Domain.Models.Placement { public class PlacementTransfer : EntityBase { [Required, Comment("Id ผู้ขอโอน")] public Profile Profile { get; set; } [Comment("หน่วยงานที่ขอโอนไป")] public string? Organization { get; set; } = string.Empty; [Comment("เหตุผล")] public string? Reason { get; set; } = string.Empty; [Comment("สถานะคำขอ")] public string Status { get; set; } = "PENDING"; [Comment("สถานะการใช้งาน")] public bool IsActive { get; set; } = true; public virtual List PlacementTransferDocs { get; set; } = new List(); } }