hrms-api-backend/BMA.EHR.Domain/Models/Retirement/RetirementDeceased.cs
2023-08-08 11:04:41 +07:00

28 lines
1.2 KiB
C#

using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using BMA.EHR.Domain.Models.Base;
using BMA.EHR.Domain.Models.MetaData;
using BMA.EHR.Domain.Models.Organizations;
using BMA.EHR.Domain.Models.Documents;
using BMA.EHR.Domain.Models.HR;
namespace BMA.EHR.Domain.Models.Retirement
{
public class RetirementDeceased : EntityBase
{
[Comment("ใบมรณบัตร")]
public Document? Document { get; set; }
[Comment("เลขที่ใบมรณบัตร")]
public string? Number { get; set; } = string.Empty;
[Comment("วันที่เสียชีวิต")]
public DateTime? Date { get; set; }
[Comment("สถานที่ออกใบมรณบัตร")]
public string? Location { get; set; } = string.Empty;
[Comment("เหตุผลการเสียชีวิต")]
public string? Reason { get; set; } = string.Empty;
[Comment("Id ผู้ถึงแก่กรรม")]
public Profile Profile { get; set; }
[Comment("สถานะการใช้งาน")]
public bool IsActive { get; set; } = true;
}
}