Add MetaData Table From ExistData
Change to use MySQL
This commit is contained in:
parent
89de09d213
commit
a0b3b13074
136 changed files with 3438 additions and 1237 deletions
35
BMA.EHR.Domain/Models/HR/ProfileInsignia.cs
Normal file
35
BMA.EHR.Domain/Models/HR/ProfileInsignia.cs
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using BMA.EHR.Domain.Models.Base;
|
||||
|
||||
namespace BMA.EHR.Profile.Service.Models.HR
|
||||
{
|
||||
public class ProfileInsignia : EntityBase
|
||||
{
|
||||
[Comment("ปีที่ยื่นขอ")]
|
||||
public int Year { get; set; }
|
||||
[MaxLength(20), Comment("ลำดับที่")]
|
||||
public string? No { get; set; }
|
||||
[MaxLength(300), Comment("ราชกิจจาฯ ฉบับที่")]
|
||||
public string? Issue { get; set; }
|
||||
[MaxLength(30), Comment("เล่มที่")]
|
||||
public string? VolumeNo { get; set; }
|
||||
[MaxLength(30), Comment("เล่ม")]
|
||||
public string? Volume { get; set; }
|
||||
[MaxLength(30), Comment("ตอน")]
|
||||
public string? Section { get; set; }
|
||||
[MaxLength(30), Comment("หน้า")]
|
||||
public string? Page { get; set; }
|
||||
[Comment("วันที่ประกาศในราชกิจจาฯ")]
|
||||
public DateTime? DateAnnounce { get; set; }
|
||||
[Comment("ลงวันที่")]
|
||||
public DateTime? ReceiveDate { get; set; }
|
||||
[Comment("ประเภท")]
|
||||
public string? InsigniaType { get; set; }
|
||||
[Comment("ชื่อเครื่องราชฯ")]
|
||||
public string? Insignia { get; set; }
|
||||
public Guid? InsigniaId { get; set; }
|
||||
public virtual List<ProfileInsigniaHistory> ProfileInsigniaHistorys { get; set; } = new List<ProfileInsigniaHistory>();
|
||||
public virtual Profile? Profile { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue