package com.engine.salary.constant;

/**
 * @Description: 薪资档案常量
 * @Author: wangxiangzhong
 * @Date: 2022/5/27 13:32
 */
public class SalaryArchiveConstant {

    /**
     * 数字正则表达式
     * 包含负数、正数、小数、0、0.00000等
     */
    public static final String NUMBER_REGEX = "(-?[1-9]\\d*\\.?\\d+)|(-?0\\.\\d*[0-9])|(\\d+)";


    /**
     * 列表中薪资项目动态列后缀标识
     */
    public static final String DYNAMIC_SUFFIX = "_salaryItem";

    /**
     * 调整前
     */
    public static final String ADJUST_BEFORE = "_adjustBefore";

    /**
     * 调整后
     */
    public static final String ADJUST_AFTER = "_adjustAfter";

    /**
     * 调整后
     */
    public static final String ZERO_IGNORE_REGEX = "\\.00";
}
