22 lines
925 B
C#
22 lines
925 B
C#
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<ProfileChildrenHistory> ProfileChildrenHistorys { get; set; } = new List<ProfileChildrenHistory>();
|
|
public Profile? Profile { get; set; }
|
|
}
|
|
}
|