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

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