hrms-api-backend/BMA.EHR.Domain/Models/HR/ProfileFamilyHistory.cs
Suphonchai Phoonsawat 68dab7a727 Add Profile Table
2023-06-26 15:18:39 +07:00

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>();
}
}