Add project files.

This commit is contained in:
Suphonchai Phoonsawat 2023-06-05 20:22:51 +07:00
parent cc6b248537
commit 717b0f0a8e
31 changed files with 1296 additions and 0 deletions

View 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;
}
}

View 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;
}
}