PSTW_CentralizeSystem/Areas/OTcalculate/Models/OtStatusModel.cs
2025-04-22 17:21:41 +08:00

37 lines
857 B
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace PSTW_CentralSystem.Areas.OTcalculate.Models
{
[Table("otstatus")]
public class OtStatusModel
{
[Key]
public int StatusId { get; set; }
[Required]
public int UserId { get; set; }
[Required]
public int Month { get; set; }
[Required]
public int Year { get; set; }
public DateTime SubmitDate { get; set; }
public string HodStatus { get; set; } = "Pending";
// JSON array of ApprovalUpdateLog
public string? HodUpdate { get; set; }
public string HrStatus { get; set; } = "Pending";
// JSON array of ApprovalUpdateLog
public string? HrUpdate { get; set; }
public string? FilePath { get; set; }
}
}