hrms-api-report-v1/Models/Exam/PositionExam.cs

35 lines
1.2 KiB
C#

using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
namespace BMA.EHR.Recurit.Exam.Service.Models
{
public class PositionExam : EntityBase
{
[Required, Comment("Id การสอบ")]
public virtual PeriodExam? PeriodExam { get; set; }
[Comment("Id ตำแหน่ง")]
public Guid? PositionId { get; set; }
[Comment("ชื่อตำแหน่ง")]
public string? PositionName { get; set; }
[Comment("Id ระดับ")]
public Guid? PositionLevelId { get; set; }
[Comment("ชื่อระดับ")]
public string? PositionLevelName { get; set; }
[Comment("Id ประเภทแบบฟอร์ม")]
public string? TypeId { get; set; }
[Comment("ชื่อประเภทแบบฟอร์ม")]
public string? TypeName { get; set; }
[Comment("ปริญญาบัตรขึ้นไป")]
public bool HighDegree { get; set; }
[Comment("รหัสประจำตำแหน่งที่สอบ")]
public string? Code { get; set; }
}
}