97 lines
2.4 KiB
C#
97 lines
2.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace HRM.BO
|
|
{
|
|
public class RDReportRow : BasicBaseObject
|
|
{
|
|
#region Constructor
|
|
public RDReportRow()
|
|
{
|
|
RowCode = string.Empty;
|
|
RowDescription = string.Empty;
|
|
Note = string.Empty;
|
|
ReportID = ID;
|
|
SerialNo = 0;
|
|
RDRowAmountCalItems = null;
|
|
RowSumCalcItems = null;
|
|
AmountFrom = EnumAmountFrom.FromGL;
|
|
RowType = EnumRowType.NormalRow;
|
|
// FOSrcType = EnumFromOtherSourceType.None;
|
|
FromOtherSourceOperator = EnumOperator.Addition;
|
|
//_collections = null;
|
|
}
|
|
#endregion
|
|
|
|
#region Properties
|
|
|
|
#region RowCode
|
|
public string RowCode { get; set; }
|
|
#endregion
|
|
|
|
#region RowDescription
|
|
public string RowDescription { get; set; }
|
|
#endregion
|
|
|
|
#region Note
|
|
public string Note { get; set; }
|
|
#endregion
|
|
|
|
#region ReportID
|
|
public int ReportID { get; set; }
|
|
#endregion
|
|
|
|
#region SerialNo
|
|
public int SerialNo { get; set; }
|
|
#endregion
|
|
|
|
#region RowType
|
|
public EnumRowType RowType { get; set; }
|
|
#endregion
|
|
|
|
#region AmountFrom
|
|
public EnumAmountFrom AmountFrom { get; set; }
|
|
#endregion
|
|
|
|
#region FromOtherSourceType
|
|
public EnumFromOtherSourceType FromOtherSourceType { get; set; }
|
|
#endregion
|
|
|
|
#region FromOtherSourceOperator
|
|
public EnumOperator FromOtherSourceOperator { get; set; }
|
|
#endregion
|
|
|
|
#region RDRowAmountCalItems
|
|
public List<RDRowAmountCalItem> RDRowAmountCalItems { get; set; }
|
|
#endregion
|
|
|
|
#region RDReportRows
|
|
public List<RDReportRow> RDReportRows { get; set; }
|
|
#endregion
|
|
|
|
#region RowSumCalcItems
|
|
public List<RowSumCalcItem> RowSumCalcItems { get; set; }
|
|
#endregion
|
|
|
|
#endregion
|
|
|
|
#region FundTypeID
|
|
public int FundTypeID { get; set; }
|
|
#endregion
|
|
|
|
|
|
}
|
|
#region IRDReportRow Service
|
|
public interface IRDReportRowService
|
|
{
|
|
int Save(RDReportRow oRDReportRow);
|
|
void Delete(int id);
|
|
List<RDReportRow> GetByReoprtID(int nReportID);
|
|
List<RDReportRow> GetByReoprtIDAndFundTypeID(int nReportID, int fundTypeID);
|
|
}
|
|
#endregion
|
|
}
|