using Microsoft.EntityFrameworkCore.Metadata.Internal; using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations; namespace BMA.EHR.Recruit.Service.Requests.Recruits { /// /// ตัวแปรสำหรับสร้างข้อมูลการสอบแข่งขัน /// public class PostRecruitImportRequest { /// /// ปีงบประมาณที่จัดสอบ /// [Required] public int Year { get; set; } /// /// รอบการสอบ /// [Required, MaxLength(250)] public string Name { get; set; } = string.Empty; /// /// ครั้งที่ /// [Required] public int Order { get; set; } = 1; /// /// รายละเอียด /// public string? Detail { get; set; } /// /// ค่าธรรมเนียม /// public int Fee { get; set; } = 0; /// /// วันเริ่มประกาศ /// public DateTime? AnnouncementStartDate { get; set; } /// /// วันสิ้นสุดประกาศ /// public DateTime? AnnouncementEndDate { get; set; } /// /// วันเริ่มชำระเงิน /// public DateTime? PaymentStartDate { get; set; } /// /// วันสิ้นสุดชำระเงิน /// public DateTime? PaymentEndDate { get; set; } /// /// วันเริ่มสมัครสอบ /// public DateTime? RegisterStartDate { get; set; } /// /// วันสิ้นสุดสมัครสอบ /// public DateTime? RegisterEndDate { get; set; } /// /// วันที่สอบ /// public DateTime? ExamDate { get; set; } /// /// หมายเหตุ /// public string? Note { get; set; } /// /// วันที่ประกาศผลสอบ /// public DateTime? AnnouncementDate { get; set; } } }