public CreateAccountSet(string accountSetName, string description, List <AccountSetItem> accountSetItems, IAccountSet iMockAccountSet)
 {
     _AccountSetName  = accountSetName;
     _Description     = description;
     _AccountSetItems = accountSetItems;
     _DalAccountSet   = iMockAccountSet;
 }
 ///<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;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }
 /// <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;
 }
 /// <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;
 }
 public DeleteAccountSetPara(int accountSetParaID, IAccountSet iMockAccountSet)
 {
     _AccountSetParaID = accountSetParaID;
     _DalAccountSet    = iMockAccountSet;
 }
Exemple #9
0
 public DeleteAccountSet(int accountSetID, IAccountSet iMockAccountSet, IEmployeeAccountSet iMockEmployeeAccountSet)
 {
     _AccountSetID          = accountSetID;
     _DalAccountSet         = iMockAccountSet;
     _DalEmployeeAccountSet = iMockEmployeeAccountSet;
 }