package com.yifu.cloud.plus.v1.yifu.salary.util;

import java.math.BigDecimal;

public class SalaryConstants {
	private SalaryConstants() {
	}
     //cellValueBig.setScale(2, BigDecimal.ROUND_HALF_UP); //四舍五入
     //在使用BigDecmial进行比较的时候不能使用equals与==比较了，需要使用compareTo()进行比较
     //if （ temp1.compareTo(temp2)==0）
     //结果是true比较大小可以用 temp2.compareTo(temp2) 返回值 -1 小于 0 等于 1 大于
     //例子：if （yearFinal != null && yearFinal.compareTo(SalaryConstants.B_ZERO) == SalaryConstants.MORE_THAN ）

     //加法 +	bigDecimal1.add(bigDecimal2)
     //减法 -	bigDecimal1.subtract(bigDecimal2)
     //乘法 x	bigDecimal1.multiply(bigDecimal2)
     //除法 /	bigDecimal1.divide(bigDecimal2)
     /*
      * @Description: 0待提交1待审核 3待发放4已发放5审核不通过6确认不通过7财务退回8：结算单调整待审核 9: 结算单调整待打印
      * @Author: hgw
      * @Date: 2019/10/10 14:55
      * @return:
      **/
     public static final Integer[] AUDIT_STATUS = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
     public static final int[] STATUS = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
     public static final String[] AUDIT_STATUS_STRING = {"待提交", "待审核", "-", "待发放", "已发放", "审核不通过", "确认不通过", "财务退回", "结算单调整待审核", "结算单调整待打印"};

     //暂停发类型 0: 工资 1: 工程
     public static final Integer[] PAUSE_TYPE = {0, 1};

     //小数位
     public static final int PLACES = 2;
     public static final int TAX_FEE_PLACES = 6;
     public static final BigDecimal B_ZERO = new BigDecimal("0");
     public static final BigDecimal B_TWELVE = new BigDecimal("12");
     public static final BigDecimal B_ONEHUNDRED = new BigDecimal("100");
     //等于
     public static final int EQUAL = 0;
     //模板列必填
     public static final String IS_MUST = "1";
     public static final String EMP_NAME = "姓名";
     public static final String IF_NEW_EMPLOYEE = "是否新员工（默认否）";
     public static final String IS_NEW_EMPLOYEE = "是否新员工";
     public static final String IS_NEW = "是";
     public static final String ID_NUMBER = "身份证号";
     public static final String SALARY_GIVE_TIME = "暂停发";
     //暂停发
     public static final String SALARY_GIVE_TIME_VALUE = "1";
     //0：生成月；
     public static final String PRIORITY_ZERO = "0";
     //1：缴纳月
     public static final String PRIORITY_ONE = "1";
     //deleteFlag;  //0：未删除； 1：已删除
     public static final Integer NOT_DELETE = 0;
     //deleteFlag;  //0：未删除； 1：已删除
     public static final Integer DELETED = 1;
     //扣缴（社保、公积金）
     public static final String IS_DEDUCT_ONE = "1";
     //社保
     public static final Integer IS_SOCIAL_ZERO = 0;
     //公积金
     public static final Integer IS_FUND_ONE = 1;
     //正常扣缴社保
     public static final Integer NOT_IS_NO_SALARY_ZERO = 0;
     //工资发放方式-银行
     public static final String SALARY_STYLE_BANK = "1";

     public static final String COST_REDUCTION = "减除费用";
     //减除费用
     public static final String COST_REDUCTION_JAVA = "costReduction";
     //代扣个人社保
     public static final String WITHHOLIDING_PERSON_SOCIAL = "withholidingPersonSocial";
     //代扣个人公积金
     public static final String WITHHOLIDING_PERSON_FUND = "withholidingPersonFund";
     //代扣单位社保"
     public static final String WITHHOLIDING_UNIT_SOCIAL = "withholidingUnitSocial";
     //代扣单位公积金
     public static final String WITHHOLIDING_UNIT_FUND = "withholidingUnitFund";

     public static final String PERSONAL_SOCIAL = "个人社保";
     public static final String PERSONAL_FUND = "个人公积金";
     public static final String UNIT_SOCIAL = "单位社保";
     public static final String UNIT_FUND = "单位公积金";
     public static final String PERSONAL_DEBT = "个人社保、公积金欠款";
     public static final String PERSONAL_DEBT_JAVA = "personalDebt";
     public static final String RELAY_SALARY = "应发工资";
     //工资应发
     public static final String RELAY_SALARY_JAVA = "relaySalary";
     //个人社保
     public static final String PERSONAL_SOCIAL_JAVA = "personalSocial";
     //个人公积金
     public static final String PERSONAL_FUND_JAVA = "personalFund";
     //单位社保
     public static final String UNIT_SOCIAL_JAVA = "unitSocial";
     //单位公积金
     public static final String UNIT_FUND_JAVA = "unitFund";
     //年终奖
     public static final String ANNUAL_BONUS_JAVA = "annualBonus";
	 // 年终奖扣税方式：0合并/1单独
     public static final String ANNUAL_BONUS_TAX_TYPE = "annualBonusTaxType";
	// 年终奖扣税方式：单独
     public static final String ANNUAL_BONUS_ALONE = "单独";
     public static final String ANNUAL_BONUS_MERGE = "合并";
	// 年终奖扣税方式的值：0合并/1单独
	 public static final String[] ANNUAL_BONUS_TAX_TYPE_VALUE = {"0","1"};

     public static final String PRE_CURRENT_SUPPLY = "前次个人待补足";
     //前次个人待补足
     public static final String PRE_CURRENT_SUPPLY_JAVA = "preCurrentSupply";

     //专项扣除-专区
     public static final String SPECIAL_DEDU_MONEY_SUM = "累计专项扣除总额";
     //累计专项扣除总额
     public static final String SPECIAL_DEDU_MONEY_SUM_JAVA = "specialDeduMoney";
     public static final String SUM_CHILD_EDU_MONEY = "累计子女教育";
     //累计子女教育
     public static final String SUM_CHILD_EDU_MONEY_JAVA = "sumChildEduMoney";
     public static final String SUM_HOUSING_LOAN_MONEY = "累计住房贷款利息";
     //累计住房贷款利息
     public static final String SUM_HOUSING_LOAN_MONEY_JAVA = "sumHousingLoanMoney";
     public static final String SUM_HOUSING_RENT_MONEY = "累计住房租金";
     //累计住房租金
     public static final String SUM_HOUSING_RENT_MONEY_JAVA = "sumHousingRentMoney";
     public static final String SUM_SUPPORT_ELDERLY_MONEY = "累计赡养老人";
     //累计赡养老人
     public static final String SUM_SUPPORT_ELDERLY_MONEY_JAVA = "sumSupportElderlyMoney";
     public static final String SUM_CONTINUING_EDUCATION_MONEY = "累计继续教育";
     //累计继续教育
     public static final String SUM_CONTINUING_EDUCATION_MONEY_JAVA = "sumContinuingEducationMoney";

     //累计婴幼儿照护费用
     public static final String SUM_BABY_MONEY = "累计婴幼儿照护费用";
     public static final String SUM_BABY_MONEY_JAVA = "sumBabyMoney";

     public static final String ANNUAL_BONUS_TAX = "年终奖单独扣税";
     //年终奖扣税
     public static final String ANNUAL_BONUS_TAX_JAVA = "annualBonusTax";
     //薪资扣税
     public static final String SALARY_TAX = "个税";
     //薪资扣税
     public static final String SALARY_TAX_JAVA = "salaryTax";
     public static final String ACTUAL_SALARY_SUM = "个人实发合计";
     //个人实发合计
     public static final String ACTUAL_SALARY_SUM_JAVA = "actualSalarySum";

     //个人代扣
     public static final String PDEDUCTION_JAVA = "pdeduction";
     //单位代扣
     public static final String UDEDUCTION_JAVA = "udeduction";
     //免个税个人代扣
     public static final String EXEMPTION_PERSION_TAX_JAVA = "exemptionPersionTax";
     //企业（职业）年金
     public static final String ENTERPRISE_ANNUITY_JAVA = "enterpriseAnnuity";
     //风险抵押金
     public static final String RISK_MORTGAGE_MONEY_JAVA = "riskMortgageMoney";
     //单位补足扣返
     public static final String UNIT_SUPPLY_JAVA = "unitSupply";
     //其他费用1
     public static final String OTHER_MONEY_ONE_JAVA = "otherMoneyOne";
     //其他费用2
     public static final String OTHER_MONEY_TWO_JAVA = "otherMoneyTwo";
     //其他费用3
     public static final String OTHER_MONEY_THREE_JAVA = "otherMoneyThree";
	 //项目薪资配置重复
	 public static final String CONFIG_SALARY_REPEAT = "项目薪资配置重复";
	//项目薪资权限重复
	public static final String DEPT_SEE_REPEAT = "项目薪资权限重复";

	public static final String CHECK_NO_RESPONSE = "校验服务器未返回，请联系管理员！";
	public static final String LINE_EMP = "行：员工：";
	public static final String IDCARD_DEPT_NO_MUST = "身份证、项目编码不可为空！";
	public static final String NOT_HAVE_EMP = "根据身份证、项目编码未找到人员！";
	public static final String TAX_MONTH_CUR = "计税月份已存在，不可更新，请清空计税月份单元格内容！";
	public static final String PROVINCE_ERROR = "开户行省错误！";
	public static final String CITY_ERROR = "开户行市错误！";
	public static final String CUR_TAX_INFO = "当前项目薪酬人员已维护计税月份，计税月份沿用系统原值，其他字段已更新！";
}
