hrms-api-backend/BMA.EHR.Domain/Models/Retirement/RetirementPeriod.cs

23 lines
1,009 B
C#

using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using BMA.EHR.Domain.Models.Base;
using BMA.EHR.Domain.Models.Documents;
namespace BMA.EHR.Domain.Models.Retirement
{
public class RetirementPeriod : EntityBase
{
[Comment("ครั้งที่")]
public int Round { get; set; }
[Comment("ประเภทคำสั่ง")]
public string? TypeReport { get; set; } = string.Empty;
[Comment("ปีงบประมาณ")]
public int Year { get; set; }
[Comment("ประเภท")]
public string Type { get; set; } = string.Empty;
[Comment("เอกสารประกาศ")]
public Document? Document { get; set; }
public virtual List<RetirementPeriodHistory> RetirementPeriodHistorys { get; set; } = new List<RetirementPeriodHistory>();
public virtual List<RetirementProfile> RetirementProfiles { get; set; } = new List<RetirementProfile>();
}
}