api คำขอโอน

This commit is contained in:
Kittapath 2023-08-04 16:17:57 +07:00
parent f878ef239e
commit f255b1e933
15 changed files with 13056 additions and 42 deletions

View 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>();
}
}