2023-06-26 14:55:54 +07:00
|
|
|
|
using BMA.EHR.Domain.Models.Base;
|
|
|
|
|
|
using BMA.EHR.Domain.Models.Documents;
|
2023-06-26 14:02:04 +07:00
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
2023-06-26 14:55:54 +07:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2023-06-26 14:02:04 +07:00
|
|
|
|
|
2023-06-26 15:18:39 +07:00
|
|
|
|
namespace BMA.EHR.Domain.Models.HR
|
2023-06-26 14:02:04 +07:00
|
|
|
|
{
|
|
|
|
|
|
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; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|