Add MetaData Table From ExistData

Change to use MySQL
This commit is contained in:
Suphonchai Phoonsawat 2023-06-26 14:02:04 +07:00
parent 89de09d213
commit a0b3b13074
136 changed files with 3438 additions and 1237 deletions

View file

@ -0,0 +1,22 @@
using System.ComponentModel.DataAnnotations;
using BMA.EHR.Domain.Models.Base;
using Microsoft.EntityFrameworkCore;
namespace BMA.EHR.Profile.Service.Models.HR
{
public class ProfileChildren : EntityBase
{
[Comment("Id คำนำหน้าบุตร")]
public Guid? ChildrenPrefixId { get; set; }
[Comment("คำนำหน้าบุตร")]
public string? ChildrenPrefix { get; set; }
[Comment("ชื่อบุตร")]
public string? ChildrenFirstName { get; set; }
[Comment("นามสกุลบุตร")]
public string? ChildrenLastName { get; set; }
[Comment("อาชีพบุตร")]
public string? ChildrenCareer { get; set; }
public virtual List<ProfileChildrenHistory> ProfileChildrenHistorys { get; set; } = new List<ProfileChildrenHistory>();
public Profile? Profile { get; set; }
}
}