first commit
This commit is contained in:
commit
f797ff3e50
228 changed files with 25555 additions and 0 deletions
32
Models/Recruits/RecruitImport.cs
Normal file
32
Models/Recruits/RecruitImport.cs
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
using BMA.EHR.Recruit.Service.Models.Documents;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace BMA.EHR.Recruit.Service.Models.Recruits
|
||||
{
|
||||
public class RecruitImport : EntityBase
|
||||
{
|
||||
[Required, Comment("ปีที่จัดการสอบ"), Column(Order = 1)]
|
||||
public int Year { get; set; }
|
||||
|
||||
[Required, MaxLength(250), Comment("ชื่อการสอบ"), Column(Order = 2)]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
[Required, Comment("ครั้งที่"), Column(Order = 3)]
|
||||
public int Order { get; set; } = 1;
|
||||
|
||||
[Column(TypeName = "text", Order = 4), Comment("รายละเอียดของการสอบ")]
|
||||
public string Description { get; set; } = String.Empty;
|
||||
|
||||
[Comment("รหัสหน่วยงานที่จัดสอบ"), Column(Order = 5)]
|
||||
public Guid OrganizationId { get; set; }
|
||||
|
||||
[MaxLength(250), Comment("หน่วยงานที่ทำการจัดสอบ"), Column(Order = 6)]
|
||||
public string OrganizationName { get; set; } = string.Empty;
|
||||
|
||||
public Document ImportFile { get; set; } = new Document();
|
||||
|
||||
public List<Recruit> Recruits { get; set; } = new List<Recruit>();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue