Restructure TAble
This commit is contained in:
parent
717b0f0a8e
commit
1ba2f2eec1
37 changed files with 1107 additions and 527 deletions
|
|
@ -0,0 +1,13 @@
|
|||
using BMA.EHR.Domain.Common;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace BMA.EHR.Domain.Entities.MetaData.BloodGroup
|
||||
{
|
||||
public class BloodGroupDraftEntity : BaseDraftEntity<Guid>
|
||||
{
|
||||
[Required, MaxLength(2), Column(Order = 1), Comment("ชื่อหมู่โลหิต")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
using BMA.EHR.Domain.Common;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace BMA.EHR.Domain.Entities.MetaData.BloodGroup
|
||||
{
|
||||
public class BloodGroupEntity : BaseDataEntity<Guid>
|
||||
{
|
||||
[Required, MaxLength(2), Column(Order = 1), Comment("ชื่อหมู่โลหิต")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
using BMA.EHR.Domain.Common;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace BMA.EHR.Domain.Entities.MetaData.BloodGroup
|
||||
{
|
||||
public class BloodGroupPublishHistoryEntity : BaseEntity<Guid>
|
||||
{
|
||||
[Column(Order = 1), Comment("รายละเอียดการแก้ไข")]
|
||||
public string Detail { get; set; } = string.Empty;
|
||||
|
||||
[Column(Order = 2), Comment("เก็บ Object ที่มีการอัพเดตในระบบ")]
|
||||
public string ObjectValue { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue