Receive and Deploy Command
This commit is contained in:
parent
297b1efb57
commit
4e8b7ea32b
24 changed files with 49003 additions and 87 deletions
|
|
@ -4,17 +4,32 @@ using System.ComponentModel.DataAnnotations;
|
|||
|
||||
namespace BMA.EHR.Domain.Models.Commands.Core
|
||||
{
|
||||
public class CommandDeployment:EntityBase
|
||||
public class CommandDeployment : EntityBase
|
||||
{
|
||||
[Comment("รหัสอ้างอิงคำสั่ง")]
|
||||
public Guid CommandId { get; set; } = Guid.Empty;
|
||||
|
||||
public Command Command { get; set; } = new();
|
||||
|
||||
[Required,Comment("รหัสอ้างอิงผู้ใช้งานระบบ")]
|
||||
[Required, Comment("รหัสอ้างอิงผู้ใช้งานระบบ")]
|
||||
public string ReceiveUserId { get; set; } = string.Empty;
|
||||
|
||||
[Required,Comment("ส่งอีเมล์หรือไม่?")]
|
||||
[Required, Comment("ลำดับ")]
|
||||
public int Sequence { get; set; } = 0;
|
||||
|
||||
[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("ส่งกล่องข้อความหรือไม่?")]
|
||||
|
|
@ -22,5 +37,11 @@ namespace BMA.EHR.Domain.Models.Commands.Core
|
|||
|
||||
[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