2023-11-23 19:59:24 +07:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
|
using BMA.EHR.Domain.Models.Base;
|
|
|
|
|
|
using BMA.EHR.Domain.Models.MetaData;
|
|
|
|
|
|
using BMA.EHR.Domain.Models.Organizations;
|
|
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
|
|
|
|
|
|
|
namespace BMA.EHR.Domain.Models.Discipline
|
|
|
|
|
|
{
|
2023-11-24 15:28:04 +07:00
|
|
|
|
public class DisciplineDisciplinary_ProfileComplaintInvestigate : EntityBase
|
2023-11-23 19:59:24 +07:00
|
|
|
|
{
|
|
|
|
|
|
[Comment("id อ้างอิง profile")]
|
|
|
|
|
|
public Guid? PersonId { get; set; }
|
|
|
|
|
|
[MaxLength(13), Comment("รหัสบัตรประชาชน")]
|
|
|
|
|
|
public string? CitizenId { get; set; }
|
|
|
|
|
|
[Comment("คำนำหน้า")]
|
|
|
|
|
|
public string? Prefix { get; set; }
|
|
|
|
|
|
[Required, MaxLength(100), Comment("ชื่อ")]
|
|
|
|
|
|
public string? FirstName { get; set; }
|
|
|
|
|
|
[Required, MaxLength(100), Comment("นามสกุล")]
|
|
|
|
|
|
public string? LastName { get; set; }
|
|
|
|
|
|
[Comment("สังกัด")]
|
|
|
|
|
|
public string? Organization { get; set; }
|
|
|
|
|
|
[Comment("ตำแหน่ง")]
|
|
|
|
|
|
public string? Position { get; set; }
|
|
|
|
|
|
[Comment("เลขที่ตำแหน่ง")]
|
|
|
|
|
|
public string? PosNo { get; set; }
|
|
|
|
|
|
[Comment("ระดับ")]
|
|
|
|
|
|
public string? PositionLevel { get; set; }
|
|
|
|
|
|
[Comment("เงินเดือน")]
|
|
|
|
|
|
public double? Salary { get; set; }
|
2023-11-29 14:23:37 +07:00
|
|
|
|
[Comment("สถานะออกคำสั่ง")]
|
2023-12-22 15:29:24 +07:00
|
|
|
|
public string? Status { get; set; } = "NEW";
|
2023-11-29 14:23:37 +07:00
|
|
|
|
[Comment("ประเภทออกคำสั่ง")]
|
|
|
|
|
|
public Guid? CommandTypeId { get; set; }
|
2023-12-20 10:29:50 +07:00
|
|
|
|
[Comment("สถานะออกคำสั่งงดโทด")]
|
2023-12-22 15:29:24 +07:00
|
|
|
|
public string? StatusDiscard { get; set; } = "NEW";
|
2023-12-20 10:29:50 +07:00
|
|
|
|
[Comment("ประเภทออกคำสั่งงดโทด")]
|
|
|
|
|
|
public Guid? CommandTypeDiscardId { get; set; }
|
2023-12-19 21:40:32 +07:00
|
|
|
|
[Comment("ส่งไปยุติเรื่อง")]
|
2023-12-22 15:29:24 +07:00
|
|
|
|
public string? IsReport { get; set; } = "NEW";
|
|
|
|
|
|
[Comment("ส่งไปพักราชการ")]
|
|
|
|
|
|
public string? IsSuspend { get; set; } = "NEW";
|
2024-01-26 09:02:07 +07:00
|
|
|
|
[Comment("รายการเก่า")]
|
|
|
|
|
|
public bool? IsAncestorDNA { get; set; } = false;
|
2023-11-24 15:28:04 +07:00
|
|
|
|
[Required, Comment("Id เรื่องสอบสวน")]
|
|
|
|
|
|
public DisciplineDisciplinary DisciplineDisciplinary { get; set; }
|
2023-12-23 13:48:56 +07:00
|
|
|
|
// public virtual List<DisciplineReport_Profile> DisciplineReport_Profiles { get; set; } = new List<DisciplineReport_Profile>();
|
2023-11-23 19:59:24 +07:00
|
|
|
|
}
|
|
|
|
|
|
}
|