50 lines
2.2 KiB
C#
50 lines
2.2 KiB
C#
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using BMA.EHR.Domain.Models.Base;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace BMA.EHR.Domain.Models.HR
|
|
{
|
|
public class ProfileFamilyHistory : EntityBase
|
|
{
|
|
[Comment("คู่สมรส")]
|
|
public bool? Couple { get; set; }
|
|
|
|
[Comment("Id คำนำหน้าคู่สมรส")]
|
|
public Guid? CouplePrefixId { get; set; }
|
|
[Comment("คำนำหน้าคู่สมรส")]
|
|
public string? CouplePrefix { get; set; }
|
|
[Comment("ชื่อคู่สมรส")]
|
|
public string? CoupleFirstName { get; set; }
|
|
[Comment("นามสกุลคู่สมรส")]
|
|
public string? CoupleLastName { get; set; }
|
|
[Comment("นามสกุลคู่สมรส(เดิม)")]
|
|
public string? CoupleLastNameOld { get; set; }
|
|
[Comment("อาชีพคู่สมรส")]
|
|
public string? CoupleCareer { get; set; }
|
|
[Comment("Id คำนำหน้าบิดา")]
|
|
public Guid? FatherPrefixId { get; set; }
|
|
[Comment("คำนำหน้าบิดา")]
|
|
public string? FatherPrefix { get; set; }
|
|
[Comment("ชื่อบิดา")]
|
|
public string? FatherFirstName { get; set; }
|
|
[Comment("นามสกุลบิดา")]
|
|
public string? FatherLastName { get; set; }
|
|
[Comment("อาชีพบิดา")]
|
|
public string? FatherCareer { get; set; }
|
|
|
|
[Comment("Id คำนำหน้ามารดา")]
|
|
public Guid? MotherPrefixId { get; set; }
|
|
[Comment("คำนำหน้ามารดา")]
|
|
public string? MotherPrefix { get; set; }
|
|
[Comment("ชื่อมารดา")]
|
|
public string? MotherFirstName { get; set; }
|
|
[Comment("นามสกุลมารดา")]
|
|
public string? MotherLastName { get; set; }
|
|
[Comment("อาชีพมารดา")]
|
|
public string? MotherCareer { get; set; }
|
|
public virtual Profile? Profile { get; set; }
|
|
|
|
public virtual List<ProfileChildrenHistory> Childrens { get; set; } = new List<ProfileChildrenHistory>();
|
|
}
|
|
}
|