19 lines
681 B
C#
19 lines
681 B
C#
using Microsoft.EntityFrameworkCore;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using BMA.EHR.Domain.Models.Base;
|
|
using BMA.EHR.Domain.Models.HR;
|
|
|
|
namespace BMA.EHR.Domain.Models.Retirement
|
|
{
|
|
public class RetirementProfile : EntityBase
|
|
{
|
|
[Comment("ลำดับที่")]
|
|
public int Order { get; set; }
|
|
[Required, Comment("เหตุผล")]
|
|
public string Reason { get; set; } = string.Empty;
|
|
[Comment("ลบออกจากเกษียญ")]
|
|
public string Remove { get; set; } = "pending";
|
|
public RetirementPeriod RetirementPeriod { get; set; }
|
|
public Profile Profile { get; set; }
|
|
}
|
|
}
|