using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations; using BMA.EHR.Domain.Models.Base; using System.ComponentModel.DataAnnotations.Schema; using BMA.EHR.Domain.Models.MetaData; using BMA.EHR.Domain.Models.HR; namespace BMA.EHR.Domain.Models.Insignias { public class InsigniaRequestProfile : EntityBase { [Required] public DateTime RequestDate { get; set; } public double? Salary { get; set; } public bool IsApprove { get; set; } = false; [MaxLength(50)] public string? QualificationStatus { get; set; } [MaxLength(50)] public string? DocumentStatus { get; set; } [Column(TypeName = "text")] public string? Note { get; set; } [MaxLength(50)] public string? Special { get; set; } [Column(TypeName = "text")] public string? MatchingConditions { get; set; } public Profile Profile { get; set; } public Insignia RequestInsignia { get; set; } public InsigniaRequest Request { get; set; } } }