51 lines
2.3 KiB
C#
51 lines
2.3 KiB
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using BMA.EHR.Domain.Models.Base;
|
|
using BMA.EHR.Domain.Models.Organizations;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace BMA.EHR.Domain.Models.Discipline
|
|
{
|
|
public class DisciplineComplaint_Appeal : EntityBase
|
|
{
|
|
|
|
[Required, Comment("สถานะอุทธรณ์/ร้องทุกข์")]
|
|
public string Status { get; set; } = string.Empty;
|
|
|
|
[Comment("เรื่องที่อุทธรณ์/ร้องทุกข์"), Column(TypeName = "text")]
|
|
public string? Title { get; set; } = string.Empty;
|
|
|
|
[Comment("รายละเอียดของเรื่องอุทธรณ์/ร้องทุกข์"), Column(TypeName = "text")]
|
|
public string? Description { get; set; } = string.Empty;
|
|
|
|
[Required, Comment("ประเภทอุทธรณ์หรือร้องทุกข์")]
|
|
public string Type { get; set; } = string.Empty;
|
|
|
|
[Comment("ปีงบประมาณ")]
|
|
public int? Year { get; set; }
|
|
|
|
[Comment("ประเภทคดี")]
|
|
public string? CaseType { get; set; } = string.Empty;
|
|
|
|
[Comment("คดีเลขที่")]
|
|
public string? CaseNumber { get; set; } = string.Empty;
|
|
|
|
[Required, Comment("ProfileId")]
|
|
public Guid ProfileId { get; set; }
|
|
|
|
[MaxLength(13), Comment("รหัสบัตรประชาชน")]
|
|
public string? CitizenId { get; set; }
|
|
|
|
[Comment("ชื่อ-นามสกุลผู้อุทธรณ์/ร้องทุกข์")]
|
|
public string? Fullname { get; set; }
|
|
|
|
[Comment("ตำแหน่งผู้อุทธรณ์/ร้องทุกข์")]
|
|
public string? Position { get; set; }
|
|
|
|
[Comment("สังกัดผู้อุทธรณ์/ร้องทุกข์")]
|
|
public string? Oc { get; set; }
|
|
|
|
public virtual List<DisciplineComplaint_Appeal_Doc> DisciplineComplaint_Appeal_Docs { get; set; } = new List<DisciplineComplaint_Appeal_Doc>();
|
|
public virtual List<DisciplineComplaint_Appeal_History> DisciplineComplaint_Appeal_Historys { get; set; } = new List<DisciplineComplaint_Appeal_History>();
|
|
}
|
|
}
|