สร้าง table บรรจุ
This commit is contained in:
parent
b0228a5277
commit
d387cc68bc
10 changed files with 12070 additions and 0 deletions
27
BMA.EHR.Domain/Models/Placement/Placement.cs
Normal file
27
BMA.EHR.Domain/Models/Placement/Placement.cs
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using BMA.EHR.Domain.Models.Base;
|
||||
|
||||
namespace BMA.EHR.Domain.Models.Placement
|
||||
{
|
||||
public class Placement : EntityBase
|
||||
{
|
||||
[Required, Comment("รอบการสอบ")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
[Comment("ครั้งที่")]
|
||||
public string Round { get; set; } = string.Empty;
|
||||
[Required, Comment("ปีงบประมาณ"), MaxLength(5)]
|
||||
public int Year { get; set; }
|
||||
[Required, Comment("จำนวนผู้สอบได้"), MaxLength(10)]
|
||||
public int Number { get; set; } = 0;
|
||||
[Required, Comment("ประเภทการสอบ")]
|
||||
public string TypeExam { get; set; } = string.Empty;
|
||||
[Required, Comment("วันที่เริ่มบัญชีบัญชี")]
|
||||
public DateTime StartDate { get; set; }
|
||||
[Required, Comment("วันที่สิ้นสุดบัญชี")]
|
||||
public DateTime EndDate { get; set; }
|
||||
|
||||
[Comment("สถานะการใช้งาน")]
|
||||
public bool IsActive { get; set; } = true;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue