EchoTex_Payroll/HRM.BO/Workflow/WFMovementTask.cs

157 lines
3.6 KiB
C#
Raw Permalink Normal View History

2024-10-14 10:01:49 +06:00

using Ease.Core.Model;
using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Reflection;
namespace HRM.BO
{
public class WFMovementTask : ObjectTemplate
{
#region Constructor
public WFMovementTask()
{
_WFMovementTranID = 0;
_employeeID = 0;
_nodeID = 0;
_Status = false;
_remarks = "";
_tasksType = EnumWFNotifyType.SysNotification;
_mailsendType = enumMailSendType.To;
_description = "";
_receiveStatus = EnumWFReceiveStatus.NOT_YET_OPEN;
_sentTime = DateTime.Today;
}
public WFMovementTask(int empid, EnumWFNotifyType type, int sequenceNo, string subject, string detail)
{
this.EmployeeID = 0;
this.TasksType = type;
// this.ste = sequenceNo;
this.Subject = subject;
this.Description = detail;
this._receiveStatus = EnumWFReceiveStatus.NOT_YET_OPEN ;
}
#endregion
#region Property(s)
#region Property WFMovementTranID : ID
private int _WFMovementTranID;
public int WFMovementTranID
{
get { return _WFMovementTranID; }
set { _WFMovementTranID = value; }
}
#endregion
public string Subject { get; set; }
#region Property EmployeeID : int
private int _employeeID;
public int EmployeeID
{
get { return _employeeID; }
set { _employeeID = value; }
}
public Employee employee { get; set; }
#endregion
#region NodeID : int
private int _nodeID;
public int 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
}
}