/// <summary> /// 空福利 /// </summary> /// <returns></returns> public static EmployeeWelfare EmptyWelfare() { EmployeeWelfare welfare; EmployeeSocialSecurity employeeSocialSecurity = new EmployeeSocialSecurity(SocialSecurityTypeEnum.Null, null, null, null, null, null); employeeSocialSecurity.BaseTemp = ""; employeeSocialSecurity.YangLaoBaseTemp = ""; employeeSocialSecurity.YiLiaoBaseTemp = ""; employeeSocialSecurity.ShiYeBaseTemp = ""; employeeSocialSecurity.EffectiveYearMonthTemp = new List <string>(new string[2] { "", "" }); EmployeeAccumulationFund employeeAccumulationFund = new EmployeeAccumulationFund(string.Empty, null, null, string.Empty, null); employeeAccumulationFund.BaseTemp = ""; employeeAccumulationFund.EffectiveYearMonthTemp = new List <string>(new string[2] { "", "" }); employeeAccumulationFund.SupplyAccount = string.Empty; welfare = new EmployeeWelfare(employeeSocialSecurity, employeeAccumulationFund); return(welfare); }
public override bool Equals(object obj) { EmployeeAccumulationFund eaf = obj as EmployeeAccumulationFund; if (eaf == null) { return(false); } else { if (eaf.Base.Equals(Base) && eaf.EffectiveYearMonth.Equals(EffectiveYearMonth) && eaf.Account.Equals(Account) && eaf.SupplyAccount.Equals(SupplyAccount) && eaf.SupplyBase.Equals(SupplyBase)) { return(true); } } return(false); }
public EmployeeWelfare(EmployeeSocialSecurity socialSecurity, EmployeeAccumulationFund accumulationFund) { _SocialSecurity = socialSecurity; _AccumulationFund = accumulationFund; }
public EmployeeWelfare(int employeeWelfareID, EmployeeSocialSecurity socialSecurity, EmployeeAccumulationFund accumulationFund) : this(socialSecurity, accumulationFund) { _EmployeeWelfareID = employeeWelfareID; }