hrms-api-backend/BMA.EHR.Domain/Models/Placement/PlacementTransfer.cs
2023-08-04 16:17:57 +07:00

22 lines
946 B
C#

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<PlacementTransferDoc> PlacementTransferDocs { get; set; } = new List<PlacementTransferDoc>();
}
}