HRM-10/HRM.BO/Fund/VoucherSetup/RDRowAmountCalItem.cs
Mohaimen Hasan 838b8d4480 first commit
2026-11-03 13:06:00 +06:00

94 lines
2.0 KiB
C#

using System.Collections.Generic;
namespace HRM.BO
{
public class RDRowAmountCalItem : BasicBaseObject
{
#region Constructor
public RDRowAmountCalItem()
{
_nRowID = ID;
_nGLID = ID;
_eOperator = EnumOperator.Addition;
}
#endregion
#region Properties
#region RowID
private int _nRowID;
public int RowID
{
get
{
return _nRowID;
}
set
{
_nRowID = value;
base.SetObjectStateModified();
}
}
#endregion
#region GLID
private int _nGLID;
public int GLID
{
get
{
return _nGLID;
}
set
{
_nGLID = value;
base.SetObjectStateModified();
}
}
#endregion
#region GL
//private GL _GL;
public GL GL;
//{
// get
// {
// if (_GL == null && _nGLID > 0)
// {
// _GL = new GL();
// _GL = new GLService().Get(_nGLID);
// }
// return _GL;
// }
// set
// {
// _GL = value;
// }
//}
#endregion
#region Operator
private EnumOperator _eOperator;
public EnumOperator Operator
{
get
{
return _eOperator;
}
set
{
_eOperator = value;
base.SetObjectStateModified();
}
}
#endregion
#endregion
}
#region IRDRowAmountCalItem Service
public interface IRDRowAmountCalItemService
{
RDRowAmountCalItem Get(int id);
List<RDRowAmountCalItem> Get();
List<RDRowAmountCalItem> GetByRowID(int nRowID);
}
#endregion
}