Receive and Deploy Command
This commit is contained in:
parent
297b1efb57
commit
4e8b7ea32b
24 changed files with 49003 additions and 87 deletions
|
|
@ -49,7 +49,9 @@ namespace BMA.EHR.Domain.Models.Commands.Core
|
|||
#region " For Placement Command "
|
||||
|
||||
[Required, Comment("อ้างอิงรอบการสอบ")]
|
||||
public Guid ExamRoundId { get; set; }
|
||||
public Guid PlacementId { get; set; }
|
||||
|
||||
public Placement.Placement Placement { get; set; }
|
||||
|
||||
[Required, Comment("ตำแหน่งที่บรรจุ")]
|
||||
public string PositionName { get; set; } = string.Empty;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,13 +12,13 @@ namespace BMA.EHR.Domain.Models.Commands.Core
|
|||
|
||||
public Command Command { get; set; } = new();
|
||||
|
||||
[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("คำนำหน้านาม")]
|
||||
[MaxLength(50), Required, Comment("คำนำหน้านาม")]
|
||||
public string Prefix { get; set; } = string.Empty;
|
||||
|
||||
[MaxLength(100), Required, Comment("ชื่อ")]
|
||||
|
|
@ -27,7 +27,10 @@ namespace BMA.EHR.Domain.Models.Commands.Core
|
|||
[MaxLength(100), Required, Comment("นามสกุล")]
|
||||
public string LastName { get; set; } = string.Empty;
|
||||
|
||||
[Column(TypeName = "text"),Comment("หมายเหตุ")]
|
||||
public string Comment { get; set; }
|
||||
[Column(TypeName = "text"), Comment("หมายเหตุ")]
|
||||
public string Comment { get; set; } = string.Empty;
|
||||
|
||||
[Comment("รหัสอ้างอิงไปยังข้อมูลผู้บรรจุ")]
|
||||
public Guid? RefPlacementProfileId { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,5 +11,8 @@ namespace BMA.EHR.Domain.Models.Commands.Core
|
|||
|
||||
[Required, MaxLength(100), Comment("ประเภทคำสั่ง")]
|
||||
public string Category { get; set; } = string.Empty;
|
||||
|
||||
[Comment("รหัสของประเภทคำสั่ง")]
|
||||
public string CommandCode { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue