package com.yifu.cloud.plus.v1.yifu.social.constants;

public class DispatchConstants {

    public static final String UPDATE_SOCIAL_AND_FUND_FAIL = "更新社保或公积金办理状态失败！";

    public static final String NO_CONTRACT_INFO = "无合同数据，请补充合同信息后导入（合同名称、合同类型等信息）！";

    public static final String ADD_EMP_CONTRACTOR_FAIL = "新增员工合同失败：";

    public static final String ADD_EMP_FAIL = "新增员工失败：";

    public static final String PARAM_ERROR = "传参有误！";

    public static final String DISPATCH_AUDIT_ERROR = "派单审核异常：";

    public static final String NO_OPERATOR_DATA = "无数据可操作";

    public static final String EMP_CONTRACTOR_SERVER_ERROR = "员工合同新增服务异常！";

    public static final String FUND_REDUCE_FAIL= "公积金派减失败：";

    public static final String EMP_PHONE_INVALID = "档案手机号无效，请更新档案或模板的手机号码！";

    public static final String DISPATCH_PHONE_NOT_EMPTY = "派单手机号不可为空，请更新档案或模板的手机号码！";


    /**
     * 社保派单
     * '缴纳类型（0最低缴纳、1自定义缴纳、2最高缴纳） PAYMENT_TYPE
     */
    enum PaymentType {
        LATEST("0", "最低"),
        SHORT("1", "自定义"),
        BATCHADD("2", "最高");

        private String code;
        private String desc;

        PaymentType(String code, String desc) {
            this.code = code;
            this.desc = desc;
        }

        public String getCode() {
            return code;
        }
        public String getDesc() {
            return desc;
        }

    }
    /**
     * 社保
     * @Author fxj
     * @Date 2020-10-13
     * @param null
     * @return
     * @see com.yifu.cloud.v1.common.core.constant
     **/
    public static final String SOCIAL_INFO= "tSocialInfo";
    /**
     * 公积金
     * @Author fxj
     * @Date 2020-10-13
     * @param null
     * @return
     * @see com.yifu.cloud.v1.common.core.constant
     **/
    public static final String PROVIDENT_INFO= "tProvidentFund";

    /**
     * 员工ID传参有误
     * @Author fxj
     * @Date 2020-10-13
     * @param null
     * @return
     * @see com.yifu.cloud.v1.common.core.constant
     **/
    public static final String PARAM_EMPLOYEE_ID_EMPTY = "传参有误：员工ID不可为空";

    /**
     * 无对应员工ID的员工数据
     * @Author fxj
     * @Date 2020-10-13
     * @param null
     * @return
     * @see com.yifu.cloud.v1.common.core.constant
     **/
    public static final String NO_EMPLOYEE_OF_ID = "无对应员工ID的员工信息";

    /**
     * 员工、社保、公积金信息
     * @Author fxj
     * @Date 2020-10-13
     * @param null
     * @return
     * @see com.yifu.cloud.v1.common.core.constant
     **/
    public static final String EMPLOYEE_SOCIAL_FUND_INFO ="员工、社保、公积金信息";

    /**
     * 派单ID不可为空，多个ID请用逗号分割
     * @Author fxj
     * @Date 2020-10-13
     * @param null
     * @return
     * @see com.yifu.cloud.v1.common.core.constant
     **/
    public static final String DISPATCH_ID_NOT_EMPTY ="派单ID不可为空，多个ID请用逗号分割！";

    /**
     * offical
     * @Author fxj
     * @Date 2020-10-13
     * @param null
     * @return
     * @see com.yifu.cloud.v1.common.core.constant
     **/
    public static final String OFFICE = "offical";

    /**
     * add
     * @Author fxj
     * @Date 2020-10-13
     * @param null
     * @return
     * @see com.yifu.cloud.v1.common.core.constant
     **/
    public static final String ADD = "add";

    /**
     * minus
     * @Author fxj
     * @Date 2020-10-13
     * @param null
     * @return
     * @see com.yifu.cloud.v1.common.core.constant
     **/
    public static final String MINUS = "minus";

    /**
     * 更新缴费库薪资结算状态失败
     * @Author fxj
     * @Date 2022-01-13
     * @param null
     * @return
     * @see com.yifu.cloud.v1.common.core.constant
     **/
    public static final String UPDATE_RELATION_FROM_SALARY_FAILED = "更新缴费库薪资结算状态失败，请重新尝试或联系管理人员！";


    public static final String UNIT_PENSION_CARDINAL_NOT_NULL= "单位养老基数不能为空！";

    public static final String UNIT_MEDICAL_CARDINAL_NOT_NULL= "单位医疗基数不能为空！";

    public static final String UNIT_UNEMPLOYMENT_CARDINAL_NOT_NULL= "单位失业基数不能为空！";

    public static final String UNIT_INJURY_CARDINAL_NOT_NULL= "单位工伤基数不能为空！";

    public static final String UNIT_BIRTH_CARDINAL_NOT_NULL= "单位生育基数不能为空！";

    public static final String PERSONAL_PENSION_CARDINAL_NOT_NULL= "个人养老基数不能为空！";

    public static final String PERSONAL_MEDICAL_CARDINAL_NOT_NULL= "个人医疗基数不能为空！";

    public static final String PERSONAL_UNEMPLOYMENT_CARDINAL_NOT_NULL= "个人失业基数不能为空！";

    public static final String UNIT_PENSION_CARDINAL_LIMIT_ERROR= "单位养老基数不可大于上限或小于下限！";

    public static final String UNIT_MEDICAL_CARDINAL_LIMIT_ERROR= "单位医疗基数不可大于上限或小于下限！";

    public static final String UNIT_UNEMPLOYMENT_CARDINAL_LIMIT_ERROR= "单位失业基数不可大于上限或小于下限！";

    public static final String UNIT_INJURY_CARDINAL_LIMIT_ERROR= "单位工伤基数不可大于上限或小于下限！";

    public static final String UNIT_BIRTH_CARDINAL_LIMIT_ERROR= "单位生育基数不可大于上限或小于下限！";

    public static final String PERSONAL_PENSION_CARDINAL_LIMIT_ERROR= "个人养老基数不可大于上限或小于下限！";

    public static final String PERSONAL_MEDICAL_CARDINAL_LIMIT_ERROR= "个人医疗基数不可大于上限或小于下限！";

    public static final String PERSONAL_UNEMPLOYMENT_CARDINAL_LIMIT_ERROR= "个人失业基数不可大于上限或小于下限！";

    public static final String UNIT_FUND_CARDINAL_LIMIT_ERROR= "公积金基数不可大于上限或小于下限！";

    public static final String EMPLOYEE=  "员工：";




}
