EchoTex_Payroll/HRM.UI/Controllers/MobileAPI/Models/PendingJobTModel.cs

49 lines
1.6 KiB
C#
Raw Permalink Normal View History

2024-10-14 10:01:49 +06:00
using System;
using System.Collections.Generic;
using HRM.BO;
namespace HRM.UI.MODELS
{
public class PendingJobTModel : AuditTrailBase
{
public PendingJobTModel()
{
HasAccept = true;
HasReject = true;
HasRevert = false;
HasRedirect = false;
AcceptButtonText = "Accept";
Description = string.Empty;
Module = string.Empty;
OperationDate = DateTime.MinValue;
Remarks = string.Empty;
LMRemarks = string.Empty;
PendingJobsCount = 0;
}
public int PKID { get; set; }
public int UserID { get; set; }
public int ObjectID { get; set; }
public string Description { get; set; }
public string Module { get; set; }
public bool IsPendingJob { get; set; }
public bool HasAccept { get; set; }
public string AcceptButtonText { get; set; }
public bool HasReject { get; set; }
public bool HasRevert { get; set; }
public bool HasRedirect { get; set; }
public int RedirectionEmpID { get; set; }
public DateTime OperationDate { get; set; }
public EnumWFSubmitStatus SubmitStatus { get; set; }
public string Remarks { get; set; }
public string LMRemarks { get; set; }
public List<PendingJobDetailTModel> Items { get; set; }
public int PendingJobsCount { get; set; }
}
public class PendingJobDetailTModel
{
public string Type { get; set; }
public string Value { get; set; }
}
}