add feature
This commit is contained in:
parent
b2abfe9e87
commit
b7fe4fc1f7
41 changed files with 2182 additions and 524 deletions
31
Requests/Recruits/PostRecruitImportRequest.cs
Normal file
31
Requests/Recruits/PostRecruitImportRequest.cs
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
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>
|
||||
/// ปีที่จัดการสอบ
|
||||
/// </summary>
|
||||
[Required]
|
||||
public int Year { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// ชื่อการสอบ
|
||||
/// </summary>
|
||||
[Required, MaxLength(250)]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// ครั้งที่
|
||||
/// </summary>
|
||||
[Required]
|
||||
public int Order { get; set; } = 1;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue