25 lines
1 KiB
C#
25 lines
1 KiB
C#
using BMA.EHR.Domain.Models.Base;
|
|
using BMA.EHR.Domain.Models.Documents;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace BMA.EHR.Domain.Models.HR
|
|
{
|
|
public class ProfileChangeName : EntityBase
|
|
{
|
|
[Comment("Id คำนำหน้า")]
|
|
public Guid? PrefixId { get; set; }
|
|
[Comment("คำนำหน้า")]
|
|
public string? Prefix { get; set; }
|
|
[MaxLength(100), Comment("ชื่อ")]
|
|
public string? FirstName { get; set; }
|
|
[MaxLength(100), Comment("นามสกุล")]
|
|
public string? LastName { get; set; }
|
|
[MaxLength(100), Comment("สถานะ")]
|
|
public string? Status { get; set; }
|
|
[Comment("เอกสารการเปลี่ยนชื่อ")]
|
|
public Document? Document { get; set; }
|
|
public virtual List<ProfileChangeNameHistory> ProfileChangeNameHistorys { get; set; } = new List<ProfileChangeNameHistory>();
|
|
public virtual Profile? Profile { get; set; }
|
|
}
|
|
}
|