Add Deploy And Receiver Table Structure

This commit is contained in:
Suphonchai Phoonsawat 2023-07-27 10:22:51 +07:00
parent 73407d3e73
commit 70cc95e408
7 changed files with 12358 additions and 8 deletions

View file

@ -1,11 +1,6 @@
using BMA.EHR.Domain.Models.Base;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BMA.EHR.Domain.Models.Commands.Core
{
@ -51,8 +46,6 @@ namespace BMA.EHR.Domain.Models.Commands.Core
[Required, MaxLength(500), Comment("คำสั่งเรื่อง")]
public string CommandSubject { get; set; } = string.Empty;
public virtual List<CommandDocument> Documents { get; set; } = new();
#region " For Placement Command "
[Required, Comment("อ้างอิงรอบการสอบ")]
@ -74,5 +67,11 @@ namespace BMA.EHR.Domain.Models.Commands.Core
public DateTime ConclusionResultDate { get; set; } = DateTime.Now;
#endregion
public virtual List<CommandDocument> Documents { get; set; } = new();
public virtual List<CommandReceiver> Receivers { get; set; }
public virtual List<CommandDeployment> Deployments { get; set; }
}
}