CEL_Payroll/Payroll.BO/Workflow/WFMovementTask.cs

150 lines
3.3 KiB
C#
Raw Permalink Normal View History

2024-09-17 14:30:13 +06:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ease.CoreV35;
using Ease.CoreV35.Caching;
using Ease.CoreV35.Model;
using Ease.CoreV35.Utility;
namespace Payroll.BO
{
[Serializable]
public class WFMovementTask : ObjectTemplate
{
#region Cache Store
private static Cache _cache = new Cache(typeof(WFMovementTask));
#endregion
#region Constructor
public WFMovementTask()
{
_WFMovementTranID = null;
_employeeID = null;
_nodeID = null;
_Status = false;
_remarks = "";
_tasksType = EnumWFNotifyType.SysNotification;
_mailsendType = enumMailSendType.To;
_description = "";
_receiveStatus = EnumWFReceiveStatus.NOT_YET_OPEN;
_sentTime = DateTime.Today;
}
#endregion
#region Property(s)
#region Property WFMovementTranID : ID
private ID _WFMovementTranID;
public ID WFMovementTranID
{
get { return _WFMovementTranID; }
set { _WFMovementTranID = value; }
}
#endregion
#region Property EmployeeID : int
private ID _employeeID;
public ID EmployeeID
{
get { return _employeeID; }
set { _employeeID = value; }
}
#endregion
#region NodeID : int
private ID _nodeID;
public ID NodeID
{
get { return _nodeID; }
set { _nodeID = value; }
}
#endregion
#region Property Status : Boolean
private bool _Status;
public bool Status
{
get { return _Status; }
set { _Status = value; }
}
#endregion
#region Property Remarks : string
private string _remarks;
public string Remarks
{
get { return _remarks; }
set { _remarks = value; }
}
#endregion
#region Property TasksType : EnumWFNotifyType
private EnumWFNotifyType _tasksType;
public EnumWFNotifyType TasksType
{
get { return _tasksType; }
set { _tasksType = value; }
}
#endregion
#region Property MailSendType : enumMailSendType
private enumMailSendType _mailsendType;
public enumMailSendType MailSendType
{
get { return _mailsendType; }
set { _mailsendType = value; }
}
#endregion
#region Property Description : string
private string _description;
public string Description
{
get { return _description; }
set { _description = value; }
}
#endregion
#region ReceiveStatus : EnumWFReceiveStatus
private EnumWFReceiveStatus _receiveStatus;
public EnumWFReceiveStatus ReceiveStatus
{
get { return _receiveStatus; }
set { _receiveStatus = value; }
}
#endregion
#region Sent Time : Date
private DateTime _sentTime;
public DateTime SentTime
{
get { return _sentTime; }
set { _sentTime = value; }
}
#endregion
#endregion
}
}