61 lines
2.2 KiB
C#
61 lines
2.2 KiB
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
using System.Data;
|
|||
|
namespace HRM.BO
|
|||
|
{
|
|||
|
#region SettlementClearance
|
|||
|
public class SettlementClearance : BasicBaseObject
|
|||
|
{
|
|||
|
#region Constructor
|
|||
|
|
|||
|
public SettlementClearance()
|
|||
|
{
|
|||
|
SentDate = DateTime.MinValue;
|
|||
|
SettlementClearanceStatus = EnumSettlementClearanceStatus.Pending;
|
|||
|
ClearanceDate = DateTime.MinValue;
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
public int UserID { get; set; }
|
|||
|
public int EmployeeID { get; set; }
|
|||
|
public int EmpClearanceID { get; set; }
|
|||
|
public int ResignationRequestID { get; set; }
|
|||
|
public DateTime? SentDate { get; set; }
|
|||
|
public DateTime? ClearanceDate { get; set; }
|
|||
|
public EnumSettlementClearanceStatus SettlementClearanceStatus { get; set; }
|
|||
|
public Employee ResignationEmployee { get; set; }
|
|||
|
public Employee NotificationEmployee { get; set; }
|
|||
|
|
|||
|
}
|
|||
|
#endregion
|
|||
|
|
|||
|
#region ISettlementClearance Service
|
|||
|
|
|||
|
public interface ISettlementClearanceService
|
|||
|
{
|
|||
|
List<SettlementClearance> Get();
|
|||
|
SettlementClearance GetByEmpID(int empID);
|
|||
|
SettlementClearance GetByUserID(int userID);
|
|||
|
SettlementClearance Get(int SettlementClearanceID);
|
|||
|
List<SettlementClearance> GetBySentDate(DateTime sentDate);
|
|||
|
List<SettlementClearance> GetByClearanceDate(DateTime clearanceDate);
|
|||
|
List<SettlementClearance> GetByStatus(EnumSettlementClearanceStatus scStatus);
|
|||
|
List<SettlementClearance> GetBySentDateRange(DateTime fromSentDate, DateTime toSentDate);
|
|||
|
List<SettlementClearance> GetByClearanceDateRange(DateTime fromClearanceDate, DateTime toClearanceDate);
|
|||
|
List<SettlementClearance> GetByRegEmp(int regEmpId, int employeeid);
|
|||
|
int Save(SettlementClearance item);
|
|||
|
void SaveAll(string employeeIds, CurrentUser? currentUser, int empresignationId);
|
|||
|
void Delete(int id);
|
|||
|
List<SettlementClearance> GetByResignationId(int resignationId);
|
|||
|
DataTable GetClearanceEmployee();
|
|||
|
bool IsClearanceEmp(int empid);
|
|||
|
// List<SettlementClearance> GetByResignationRequestId(int ResignationRequestID);
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
}
|