142 lines
2.8 KiB
C#
142 lines
2.8 KiB
C#
using System;
|
|
using System.Linq;
|
|
using System.Data;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
namespace HRM.BO
|
|
{
|
|
public class InvestmentTran : AuditTrailBase
|
|
{
|
|
#region Constructor
|
|
|
|
public InvestmentTran()
|
|
: base()
|
|
{
|
|
ActivityID = 0;
|
|
TranTypeID = 0;
|
|
CategoryID = 0;
|
|
InvestmentID = 0;
|
|
TemplateVoucherID = 0;
|
|
FundTypeID = 0;
|
|
TranDate = DateTime.MinValue;
|
|
PrincipalAmount = 0.0;
|
|
}
|
|
|
|
#endregion Constructor
|
|
|
|
#region Properties
|
|
|
|
#region Property ActivityID : ID
|
|
|
|
public int? ActivityID
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
#endregion Property ActivityID : ID
|
|
|
|
#region Property TranTypeID : ID // modified from FMActivityID
|
|
|
|
public EnumInvestmentActivities TranTypeID
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
#endregion Property TranTypeID : ID
|
|
|
|
#region Property CategoryID : ID
|
|
|
|
public int CategoryID
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
#endregion Property CategoryID : ID
|
|
|
|
#region Property InvestmentID : ID
|
|
|
|
public int InvestmentID
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
#endregion Property InvestmentID : ID
|
|
|
|
#region Property InvestmentAIT : ID
|
|
|
|
public double? InvestmentAIT
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
#endregion Property InvestmentID : ID
|
|
|
|
#region Property TemplateVoucherID : ID
|
|
|
|
public int TemplateVoucherID
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
#endregion Property TemplateVoucherID : ID
|
|
|
|
#region Property FundTypeID : ID
|
|
|
|
public int FundTypeID
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
#endregion Property FundTypeID : ID
|
|
|
|
#region Property TranDate : DateTime
|
|
|
|
public DateTime TranDate
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
#endregion Property TranDate : DateTime
|
|
|
|
#region Property PrincipalAmount : double
|
|
|
|
public double PrincipalAmount
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
#endregion Property PrincipalAmount : double
|
|
|
|
#region Property InterestGlTranID : ID
|
|
|
|
public int? InterestGlTranID
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
#endregion Property InterestGlTranID : ID
|
|
|
|
#region Property AITGLTranID : ID
|
|
|
|
public int? AITGLTranID
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
#endregion Property AITGLTranID : ID
|
|
|
|
#endregion Properties
|
|
}
|
|
public interface IInvestmentTranService
|
|
{
|
|
void Save(InvestmentTran investmentTran);
|
|
void Delete(int investmentTranID);
|
|
InvestmentTran Get(int investmentTranID);
|
|
List<InvestmentTran> Get(InvestmentInfo investmentInfo);
|
|
DataSet Get(DateTime fromDate, DateTime toDate);
|
|
}
|
|
}
|