using System; using System.ComponentModel.DataAnnotations; using BMA.EHR.Domain.Models.Base; using Microsoft.EntityFrameworkCore; namespace BMA.EHR.Domain.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; } } }