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 RetirementPeriodHistorys { get; set; } = new List(); public virtual List RetirementProfiles { get; set; } = new List(); } }