46 lines
1.4 KiB
C#
46 lines
1.4 KiB
C#
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"), Comment("รายละเอียดเครื่องราชฯที่ขอ")]
|
|
public string? MatchingConditions { get; set; }
|
|
|
|
[Comment("สถานะตำแหน่งที่ยื่นขอ")]
|
|
public string Status { get; set; } = "PENDING";
|
|
|
|
[Comment("เหตุผลไม่ยื่นขอ")]
|
|
public string? Reason { get; set; }
|
|
|
|
public Profile Profile { get; set; }
|
|
|
|
public Insignia RequestInsignia { get; set; }
|
|
|
|
public InsigniaRequest Request { get; set; }
|
|
}
|
|
}
|