Add Deploy And Receiver Table Structure
This commit is contained in:
parent
73407d3e73
commit
70cc95e408
7 changed files with 12358 additions and 8 deletions
26
BMA.EHR.Domain/Models/Commands/Core/CommandDeployment.cs
Normal file
26
BMA.EHR.Domain/Models/Commands/Core/CommandDeployment.cs
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
using BMA.EHR.Domain.Models.Base;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace BMA.EHR.Domain.Models.Commands.Core
|
||||
{
|
||||
public class CommandDeployment:EntityBase
|
||||
{
|
||||
[Comment("รหัสอ้างอิงคำสั่ง")]
|
||||
public Guid CommandId { get; set; } = Guid.Empty;
|
||||
|
||||
public Command Command { get; set; } = new();
|
||||
|
||||
[Required,Comment("รหัสอ้างอิงผู้ใช้งานระบบ")]
|
||||
public string ReceiveUserId { 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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue