105 lines
2.9 KiB
C#
105 lines
2.9 KiB
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using Ease.Core;
|
|||
|
using Ease.Core.Model;
|
|||
|
using System.Data;
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
namespace HRM.BO
|
|||
|
{
|
|||
|
#region UploadEncashAmount
|
|||
|
|
|||
|
public class UploadEncashAmount : BasicBaseObject
|
|||
|
{
|
|||
|
|
|||
|
#region Constructor
|
|||
|
public UploadEncashAmount()
|
|||
|
{
|
|||
|
//_nEmpID = null;
|
|||
|
//_nLeaveID = null;
|
|||
|
//_days = 0;
|
|||
|
//_basicSalary = 0.0;
|
|||
|
//_leaveYear = 0;
|
|||
|
}
|
|||
|
#endregion
|
|||
|
|
|||
|
#region Properties
|
|||
|
public int EmployeeID { get; set; }
|
|||
|
public int LeaveID { get; set; }
|
|||
|
public int Days { get; set; }
|
|||
|
public int LeaveYear { get; set; }
|
|||
|
public double BasicSalary { get; set; }
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
//#region Functions
|
|||
|
|
|||
|
//public void Save(List<UploadEncashAmount> items)
|
|||
|
//{
|
|||
|
// //this.SetAuditTrailProperties();
|
|||
|
// UploadEncashAmount.Service.Save(items);
|
|||
|
//}
|
|||
|
|
|||
|
//public void Delete(ID id)
|
|||
|
//{
|
|||
|
// UploadEncashAmount.Service.Delete(id);
|
|||
|
//}
|
|||
|
//#endregion
|
|||
|
|
|||
|
//#region Collection Functions
|
|||
|
|
|||
|
|
|||
|
//public static List<UploadEncashAmount> Get()
|
|||
|
//{
|
|||
|
// #region Cache Header
|
|||
|
// List<UploadEncashAmount> UploadEncashAmounts = _cache["Get"] as List<UploadEncashAmount>;
|
|||
|
// if (UploadEncashAmounts != null)
|
|||
|
// return UploadEncashAmounts;
|
|||
|
// #endregion
|
|||
|
// UploadEncashAmounts = UploadEncashAmount.Service.Get();
|
|||
|
// #region Cache Footer
|
|||
|
// _cache.Add(UploadEncashAmounts, "Get");
|
|||
|
// #endregion
|
|||
|
// return UploadEncashAmounts;
|
|||
|
//}
|
|||
|
//public static List<UploadEncashAmount> Get(ID EmpID)
|
|||
|
//{
|
|||
|
// #region Cache Header
|
|||
|
// List<UploadEncashAmount> UploadEncashAmounts = _cache["Get", EmpID] as List<UploadEncashAmount>;
|
|||
|
// if (UploadEncashAmounts != null)
|
|||
|
// return UploadEncashAmounts;
|
|||
|
// #endregion
|
|||
|
// UploadEncashAmounts = UploadEncashAmount.Service.Get(EmpID);
|
|||
|
// #region Cache Footer
|
|||
|
// _cache.Add(UploadEncashAmounts, "Get", EmpID);
|
|||
|
// #endregion
|
|||
|
// return UploadEncashAmounts;
|
|||
|
//}
|
|||
|
|
|||
|
|
|||
|
//#endregion
|
|||
|
|
|||
|
//#region Service Factory
|
|||
|
//internal static IUploadEncashAmountService Service
|
|||
|
//{
|
|||
|
// get { return Services.Factory.CreateService<IUploadEncashAmountService>(typeof(IUploadEncashAmountService)); }
|
|||
|
//}
|
|||
|
//#endregion
|
|||
|
}
|
|||
|
#endregion
|
|||
|
|
|||
|
#region IUploadEncashAmount Service
|
|||
|
public interface IUploadEncashAmountService
|
|||
|
{
|
|||
|
List<UploadEncashAmount> Get();
|
|||
|
List<UploadEncashAmount> Get(int EmpID);
|
|||
|
void Save(List<UploadEncashAmount> items);
|
|||
|
void Delete(int id);
|
|||
|
}
|
|||
|
#endregion
|
|||
|
}
|