api อุทธร
This commit is contained in:
parent
d4ae5f8c53
commit
c1b3ad7f7a
10 changed files with 12651 additions and 0 deletions
|
|
@ -0,0 +1,45 @@
|
|||
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; }
|
||||
|
||||
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>();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue