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
26
BMA.EHR.Domain/Models/HR/ProfileCertificateHistory.cs
Normal file
26
BMA.EHR.Domain/Models/HR/ProfileCertificateHistory.cs
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using BMA.EHR.Domain.Models.Base;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace BMA.EHR.Profile.Service.Models.HR
|
||||
{
|
||||
public class ProfileCertificateHistory : EntityBase
|
||||
{
|
||||
[MaxLength(20), Comment("เลขที่ใบอนุญาต")]
|
||||
public string? CertificateNo { get; set; }
|
||||
[MaxLength(200), Comment("หน่วยงานผู้ออกใบอนุญาต")]
|
||||
public string? Issuer { get; set; }
|
||||
[Comment("วันที่ออกใบอนุญาต")]
|
||||
public DateTime? IssueDate { get; set; }
|
||||
[Comment("วันที่หมดอายุ")]
|
||||
public DateTime? ExpireDate { get; set; }
|
||||
[MaxLength(100), Comment("ชื่อใบอนุญาต")]
|
||||
public string? CertificateType { get; set; }
|
||||
// public string? Name { get; set; }
|
||||
// public string? CertiNumber { get; set; }
|
||||
// public DateTime? Start { get; set; }
|
||||
// public DateTime? End { get; set; }
|
||||
public virtual ProfileCertificate? ProfileCertificate { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue