63 lines
1.2 KiB
C#
63 lines
1.2 KiB
C#
|
using Ease.Core.DataAccess;
|
|||
|
using HRM.BO.Assets;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
|
|||
|
namespace HRM.BO
|
|||
|
{
|
|||
|
#region ClaimTran
|
|||
|
|
|||
|
public class ClaimTran : BasicBaseObject
|
|||
|
{
|
|||
|
#region Constructor
|
|||
|
|
|||
|
public ClaimTran()
|
|||
|
{
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
#region Properties
|
|||
|
public int EmployeeID { get; set; }
|
|||
|
public DateTime TranDate { get; set; }
|
|||
|
public EnumTranType TranType { get; set; }
|
|||
|
public int ReferenceID { get; set; }
|
|||
|
public string Remarks { get; set; }
|
|||
|
public EnumSide TranSide { get; set; }
|
|||
|
public double TranAmount { get; set; }
|
|||
|
|
|||
|
#endregion
|
|||
|
}
|
|||
|
|
|||
|
public class ClaimCurrentBalance : BasicBaseObject
|
|||
|
{
|
|||
|
#region Constructor
|
|||
|
|
|||
|
public ClaimCurrentBalance()
|
|||
|
{
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
#region Properties
|
|||
|
public double ExpenseAmount { get; set; }
|
|||
|
public double AdavnceAmount { get; set; }
|
|||
|
public double CurrentBalance { get; set; }
|
|||
|
|
|||
|
#endregion
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
public interface IClaimTranService
|
|||
|
{
|
|||
|
ClaimTran Get(int id);
|
|||
|
List<ClaimTran> Get();
|
|||
|
int Save(ClaimTran item);
|
|||
|
void Delete(int id);
|
|||
|
}
|
|||
|
|
|||
|
}
|