37 lines
857 B
C#
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; }
|
|
}
|
|
|
|
}
|