api คำขอโอน
This commit is contained in:
parent
f878ef239e
commit
f255b1e933
15 changed files with 13056 additions and 42 deletions
22
BMA.EHR.Domain/Models/Placement/PlacementTransfer.cs
Normal file
22
BMA.EHR.Domain/Models/Placement/PlacementTransfer.cs
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
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>();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue