2023-07-22 22:14:50 +07:00
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
using BMA.EHR.Domain.Models.Base;
|
2023-08-23 20:30:30 +07:00
|
|
|
|
using BMA.EHR.Domain.Models.Documents;
|
2023-07-22 22:14:50 +07:00
|
|
|
|
|
|
|
|
|
|
namespace BMA.EHR.Domain.Models.Retirement
|
|
|
|
|
|
{
|
|
|
|
|
|
public class RetirementPeriod : EntityBase
|
|
|
|
|
|
{
|
|
|
|
|
|
[Comment("ครั้งที่")]
|
|
|
|
|
|
public int Round { get; set; }
|
2023-08-03 09:35:54 +07:00
|
|
|
|
[Comment("ประเภทคำสั่ง")]
|
|
|
|
|
|
public string? TypeReport { get; set; } = string.Empty;
|
2023-07-25 14:32:02 +07:00
|
|
|
|
[Comment("ปีงบประมาณ")]
|
|
|
|
|
|
public int Year { get; set; }
|
2023-07-22 22:14:50 +07:00
|
|
|
|
[Comment("ประเภท")]
|
|
|
|
|
|
public string Type { get; set; } = string.Empty;
|
2023-08-23 20:30:30 +07:00
|
|
|
|
[Comment("เอกสารประกาศ")]
|
|
|
|
|
|
public Document? Document { get; set; }
|
2023-08-03 09:35:54 +07:00
|
|
|
|
public virtual List<RetirementPeriodHistory> RetirementPeriodHistorys { get; set; } = new List<RetirementPeriodHistory>();
|
2023-07-22 22:14:50 +07:00
|
|
|
|
public virtual List<RetirementProfile> RetirementProfiles { get; set; } = new List<RetirementProfile>();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|