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