using System.ComponentModel.DataAnnotations; using BMA.EHR.Domain.Models.Base; using Microsoft.EntityFrameworkCore; namespace BMA.EHR.Domain.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 ProfileChildrenHistorys { get; set; } = new List(); public Profile? Profile { get; set; } } }