61 lines
1.4 KiB
C#
61 lines
1.4 KiB
C#
using System;
|
|
using System.Linq;
|
|
using System.Data;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
namespace HRM.BO
|
|
{
|
|
#region ActivityVoucherSetup
|
|
[Serializable]
|
|
public class ActivityVoucherSetup:AuditTrailBase
|
|
{
|
|
|
|
|
|
#region ActivityVoucherSetup
|
|
public ActivityVoucherSetup()
|
|
{
|
|
FundTypeID = 0;
|
|
GLID = 0;
|
|
GLSide = 0;
|
|
ReferenceType = EnumProcessReferenceType.None;
|
|
ReferenceID = 0;
|
|
}
|
|
#endregion
|
|
#region Property
|
|
|
|
public int FundTypeID { get; set; }
|
|
|
|
public EnumFundProcessType ProcessID { get; set; }
|
|
|
|
public int GLID { get; set; }
|
|
|
|
public EnumTranSide GLSide { get; set; }
|
|
|
|
public EnumProcessReferenceType? ReferenceType { get; set;}
|
|
|
|
public int? ReferenceID { get; set; }
|
|
|
|
public EnumVouhcerSetupItemType? VouhcerSetupItemType { get; set; }
|
|
|
|
public EnumFundProcessType FundProcessType { get; set; } //view only
|
|
#endregion
|
|
|
|
}
|
|
#endregion
|
|
|
|
#region IActivityVoucherSetup
|
|
public interface IActivityVoucherSetupService
|
|
{
|
|
void Save(ActivityVoucherSetup ActivityVoucherSetup);
|
|
void Delete(int id);
|
|
List<ActivityVoucherSetup> GetByFundType(int FundTypeID);
|
|
DataTable GetProcessIDsByFundType(int FundTypeID);
|
|
List<ActivityVoucherSetup> GetByProcessID(int Processid);
|
|
void DeleteByProcessID(int id);
|
|
}
|
|
#endregion
|
|
}
|