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
31
BMA.EHR.Domain/Models/HR/ProfileCertificate.cs
Normal file
31
BMA.EHR.Domain/Models/HR/ProfileCertificate.cs
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using BMA.EHR.Domain.Models.Base;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace BMA.EHR.Profile.Service.Models.HR
|
||||
{
|
||||
public class ProfileCertificate : EntityBase
|
||||
{
|
||||
// [Key]
|
||||
// public int Id { get; set; }
|
||||
// [Required]
|
||||
// public int Order { get; set; }
|
||||
[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 List<ProfileCertificateHistory> ProfileCertificateHistorys { get; set; } = new List<ProfileCertificateHistory>();
|
||||
public virtual Profile? Profile { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue