28 lines
1 KiB
C#
28 lines
1 KiB
C#
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using BMA.EHR.Report.Service.Models;
|
|
|
|
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)]
|
|
public string? CertificateNo { get; set; }
|
|
[MaxLength(200)]
|
|
public string? Issuer { get; set; }
|
|
public DateTime? IssueDate { get; set; }
|
|
public DateTime? ExpireDate { get; set; }
|
|
[MaxLength(100)]
|
|
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; }
|
|
}
|
|
}
|