using PSTW_CentralSystem.Models; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace PSTW_CentralSystem.Areas.OTcalculate.Models { public class ApprovalFlowModel { [Key] public int ApprovalFlowId { get; set; } public string ApprovalName { get; set; } public int? HoU { get; set; } [ForeignKey("HoU")] public virtual UserModel? HeadOfUnit { get; set; } public int? HoD { get; set; } [ForeignKey("HoD")] public virtual UserModel? HeadOfDepartment { get; set; } public int? Manager { get; set; } [ForeignKey("Manager")] public virtual UserModel? ManagerUser { get; set; } public int? HR { get; set; } [ForeignKey("HR")] public virtual UserModel? HRUser { get; set; } } }