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 DateTime? SignDate { 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; } [Comment("รายละเอียดมติ อกก")] public string Detail { get; set; } = "มาตรา ๑๖ และมาตรา ๒๑ แห่งพระราชบัญญัติบำเหน็จบำนาญข้าราชการส่วนท้องถิ่น พ.ศ.๒๕๗๗ มาตรา ๘ แห่งพระราชบัญญัติบำเหน็จบำนาญข้าราชการกรุงเทพมหานคร พ.ศ.๒๕๕๔ ประกอบกับมติ ก.ก. ครั้งที่๑๑/๒๕๕๕ เมื่อวันที่ ๑๕ พฤศจิกายน ๒๕๕๕และมติ อ.ก.ก. สามัญข้ารายการสามัญครั้งที่ ๑/๒๕๖๕ เมื่อวันที่ ๒๑ กุมภาพันธ์ ๒๕๖๕"; public virtual List RetirementPeriodHistorys { get; set; } = new List(); public virtual List RetirementProfiles { get; set; } = new List(); public virtual List RetirementRawProfiles { get; set; } = new List(); } }