hrms-api-report-v1/Models/HR/ProfileInsignia.cs

50 lines
1.9 KiB
C#

using BMA.EHR.MetaData.Service.Models;
using System.ComponentModel.DataAnnotations;
namespace BMA.EHR.Profile.Service.Models.HR
{
public class ProfileInsignia : EntityBase
{
// [Key]
// public int Id { get; set; }
// [Required]
// public int Order { get; set; }
// public Insignia Insignia { get; set; }
// public DateTime DateReceive { get; set; }
public int Year { get; set; }
// [MaxLength(300)]
// public string? Level { get; set; }
[MaxLength(20)]
public string? No { get; set; }
[MaxLength(300)]
public string? Issue { get; set; }
[MaxLength(30)]
public string? VolumeNo { get; set; }
[MaxLength(30)]
public string? Volume { get; set; }
[MaxLength(30)]
public string? Section { get; set; }
[MaxLength(30)]
public string? Page { get; set; }
// public DateTime? DateStamp { get; set; }
public DateTime? DateAnnounce { get; set; }
// public DateTime? EndDate { get; set; }
// public int? Year { get; set; }
public DateTime? ReceiveDate { get; set; }
public string? InsigniaType { get; set; }
// public InsigniaType? InsigniaType { get; set; }
public string? Insignia { get; set; }
public Guid? InsigniaId { get; set; }
// public Insignia? Insignia { get; set; }
// public string? No { get; set; }
// public string? GazetteNo { get; set; }
// public string? Volume { get; set; }
// public string? Book { get; set; }
// public string? Section { get; set; }
// public string? Page { get; set; }
public virtual List<ProfileInsigniaHistory> ProfileInsigniaHistorys { get; set; } = new List<ProfileInsigniaHistory>();
public virtual Profile? Profile { get; set; }
}
}