コード例 #1
0
 public CreateAccountSet(string accountSetName, string description, List <AccountSetItem> accountSetItems, IAccountSet iMockAccountSet)
 {
     _AccountSetName  = accountSetName;
     _Description     = description;
     _AccountSetItems = accountSetItems;
     _DalAccountSet   = iMockAccountSet;
 }
コード例 #2
0
 ///<summary>
 ///</summary>
 ///<param name="employeeID"></param>
 ///<param name="dt"></param>
 ///<param name="backAcountsName"></param>
 ///<param name="description"></param>
 ///<param name="mockSalary"></param>
 ///<param name="mockaccountSet"></param>
 ///<param name="mockEmployeeAccountSet"></param>
 public CreateEmployeeSalary(int employeeID, DateTime dt, string backAcountsName, string description, IEmployeeSalary mockSalary, IAccountSet mockaccountSet, IEmployeeAccountSet mockEmployeeAccountSet)
 {
     _EmployeeID            = employeeID;
     _SalaryTime            = dt;
     _Description           = description;
     _BackAccountsName      = backAcountsName;
     _DalEmployeeSalary     = mockSalary;
     _DalAccountSet         = mockaccountSet;
     _DalEmployeeAccountSet = mockEmployeeAccountSet;
 }
コード例 #3
0
 public CreateEmployeeAccountSet(int employeeID, Model.PayModule.AccountSet accountSet,
                                 string backAccountsName, DateTime changeDate, string description, IAccountSet mockAccountSet, IEmployeeAccountSet mockEmployeeAccountSet)
 {
     _EmployeeID            = employeeID;
     _AccountSet            = accountSet;
     _BackAccountsName      = backAccountsName;
     _ChangeDate            = changeDate;
     _Description           = description;
     _DalAccountSet         = mockAccountSet;
     _DalEmployeeAccountSet = mockEmployeeAccountSet;
 }
コード例 #4
0
 public UpdateAccountSet(int accountSetID, string accountSetName, string description, List <AccountSetItem> accountSetItems, string operatorName,
                         IAccountSet iMockAccountSet, IEmployeeAccountSet iMockEmployeeAccountSet)
 {
     _OperatorName          = operatorName;
     _AccountSetID          = accountSetID;
     _AccountSetName        = accountSetName;
     _Description           = description;
     _AccountSetItems       = accountSetItems;
     _DalAccountSet         = iMockAccountSet;
     _DalEmployeeAccountSet = iMockEmployeeAccountSet;
 }
コード例 #5
0
 //for test
 public AccountReopenedEmployeeAccountSet(int salaryId, int employeeID, DateTime dt, Model.PayModule.AccountSet accountSet, string backAcountsName, string description, int versionNum, IEmployeeSalary mockSalary, IAccountSet mockaccountSet)
 {
     _EmployeeSalaryID  = salaryId;
     _EmployeeID        = employeeID;
     _SalaryTime        = dt;
     _Description       = description;
     _AccountSet        = accountSet;
     _BackAccountsName  = backAcountsName;
     _VersionNum        = versionNum;
     _DalEmployeeSalary = mockSalary;
     _DalAccountSet     = mockaccountSet;
 }
コード例 #6
0
 /// <summary>
 /// 构造函数
 /// </summary>
 public CreateAccountSetPara(string accountSetParaName, FieldAttributeEnum fieldAttributes,
                             BindItemEnum bindItem, MantissaRoundEnum mantissaRoundEnum, string description,
                             bool isVisibleToEmployee, bool isVisibleWhenZero, IAccountSet iMockAccountSet)
 {
     _AccountSetParaName  = accountSetParaName;
     _FieldAttributes     = fieldAttributes;
     _BindItem            = bindItem;
     _MantissaRoundEnum   = mantissaRoundEnum;
     _Description         = description;
     _DalAccountSet       = iMockAccountSet;
     _IsVisibleToEmployee = isVisibleToEmployee;
     _IsVisibleWhenZero   = isVisibleWhenZero;
 }
コード例 #7
0
 /// <summary>
 /// 构造函数
 /// </summary>
 public UpdateAccountSetPara(int accountSetParaID, string accountSetParaName, FieldAttributeEnum fieldAttributes,
                             BindItemEnum bindItem, MantissaRoundEnum mantissaRoundEnum, string description, string operatorName,
                             bool isVisibleToEmployee, bool isVisibleWhenZero,
                             IAccountSet iMockAccountSet, IEmployeeAccountSet iMockEmployeeAccountSet)
 {
     _OperatorName          = operatorName;
     _AccountSetParaID      = accountSetParaID;
     _AccountSetParaName    = accountSetParaName;
     _FieldAttributes       = fieldAttributes;
     _BindItem              = bindItem;
     _MantissaRoundEnum     = mantissaRoundEnum;
     _Description           = description;
     _DalAccountSet         = iMockAccountSet;
     _DalEmployeeAccountSet = iMockEmployeeAccountSet;
     _IsVisibleToEmployee   = isVisibleToEmployee;
     _IsVisibleWhenZero     = isVisibleWhenZero;
 }
コード例 #8
0
 public DeleteAccountSetPara(int accountSetParaID, IAccountSet iMockAccountSet)
 {
     _AccountSetParaID = accountSetParaID;
     _DalAccountSet    = iMockAccountSet;
 }
コード例 #9
0
 public DeleteAccountSet(int accountSetID, IAccountSet iMockAccountSet, IEmployeeAccountSet iMockEmployeeAccountSet)
 {
     _AccountSetID          = accountSetID;
     _DalAccountSet         = iMockAccountSet;
     _DalEmployeeAccountSet = iMockEmployeeAccountSet;
 }