Add project files.
This commit is contained in:
parent
cc6b248537
commit
717b0f0a8e
31 changed files with 1296 additions and 0 deletions
13
BMA.EHR.Domain/Entities/MetaData/BloodGroupEntity.cs
Normal file
13
BMA.EHR.Domain/Entities/MetaData/BloodGroupEntity.cs
Normal file
|
|
@ -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
|
||||
{
|
||||
public class BloodGroupEntity : BaseEntity<Guid>
|
||||
{
|
||||
[Required, MaxLength(2), Column(Order = 1), Comment("ชื่อหมู่โลหิต")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
13
BMA.EHR.Domain/Entities/MetaData/PrefixEntity.cs
Normal file
13
BMA.EHR.Domain/Entities/MetaData/PrefixEntity.cs
Normal file
|
|
@ -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
|
||||
{
|
||||
public class PrefixEntity : BaseEntity<Guid>
|
||||
{
|
||||
[Required, MaxLength(100), Column(Order = 1), Comment("รายละเอียดคำนำหน้า")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue