api หนังสือเวียน
This commit is contained in:
parent
c54f3709ef
commit
6ab37f3ace
13 changed files with 32708 additions and 1 deletions
|
|
@ -60,6 +60,9 @@ namespace BMA.EHR.Domain.Models.HR
|
|||
|
||||
[Comment("ประเภทคำสั่ง")]
|
||||
public string CommandTypeName { get; set; }
|
||||
|
||||
[Comment("ประเภทตำแหน่งกรณีพิเศษ")]
|
||||
public string? SalaryStatus { get; set; }
|
||||
public bool IsActive { get; set; } = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,5 +24,6 @@ namespace BMA.EHR.Domain.Models.Retirement
|
|||
public Profile Profile { get; set; }
|
||||
[Comment("สถานะการใช้งาน")]
|
||||
public bool IsActive { get; set; } = true;
|
||||
public virtual List<RetirementDeceasedNoti> RetirementDeceasedNotis { get; set; } = new List<RetirementDeceasedNoti>();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
45
BMA.EHR.Domain/Models/Retirement/RetirementDeceasedNoti.cs
Normal file
45
BMA.EHR.Domain/Models/Retirement/RetirementDeceasedNoti.cs
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using BMA.EHR.Domain.Models.Base;
|
||||
using BMA.EHR.Domain.Models.MetaData;
|
||||
using BMA.EHR.Domain.Models.Organizations;
|
||||
using BMA.EHR.Domain.Models.Documents;
|
||||
using BMA.EHR.Domain.Models.HR;
|
||||
|
||||
namespace BMA.EHR.Domain.Models.Retirement
|
||||
{
|
||||
public class RetirementDeceasedNoti : EntityBase
|
||||
{
|
||||
[Comment("รหัสอ้างอิงผู้ใช้งานระบบ")]
|
||||
public Profile ReceiveUser { get; set; }
|
||||
[Comment("Fk Table RetirementDeceased")]
|
||||
public RetirementDeceased RetirementDeceased { get; set; }
|
||||
|
||||
[MaxLength(13), Required, Comment("เลขประจำตัวประชาชน")]
|
||||
public string CitizenId { get; set; } = string.Empty;
|
||||
|
||||
[MaxLength(50), Required, Comment("คำนำหน้านาม")]
|
||||
public string Prefix { get; set; } = string.Empty;
|
||||
|
||||
[MaxLength(100), Required, Comment("ชื่อ")]
|
||||
public string FirstName { get; set; } = string.Empty;
|
||||
|
||||
[MaxLength(100), Required, Comment("นามสกุล")]
|
||||
public string LastName { get; set; } = string.Empty;
|
||||
|
||||
[Required, Comment("ส่งอีเมล์หรือไม่?")]
|
||||
public bool IsSendMail { get; set; } = true;
|
||||
|
||||
[Required, Comment("ส่งกล่องข้อความหรือไม่?")]
|
||||
public bool IsSendInbox { get; set; } = true;
|
||||
|
||||
[Required, Comment("ส่งแจ้งเตือนหรือไม่?")]
|
||||
public bool IsSendNotification { get; set; } = true;
|
||||
|
||||
[Comment("ชื่อหน่วยงานของผู้รับสำเนาคำสั่ง")]
|
||||
public string OrganizationName { get; set; } = string.Empty;
|
||||
|
||||
[Comment("ชื่อตำแหน่งของผู้รับสำเนาคำสั่ง")]
|
||||
public string PositionName { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue