package cn.ey.biz.module.system.enums.rate;

import lombok.Getter;

import java.util.Arrays;
import java.util.List;

/**
 * 规则分类枚举
 *
 * @author ShiJie-SJ.Li
 * @date 2023/06/14
 */
@Getter
public enum RuleSortEnum {


    ADV_RULE(Arrays.asList("CHN03,HKG03"), "ORDER BY engagement_le_code, engagement_ou_code, employee_bu_code, employee_ou_code, employee_mu_code"),
    TAX_INTERNA_RULE(Arrays.asList("CHN020206,HKG020206"), "ORDER BY engagement_le_code, employee_bu_code, employee_smu_code, rank_code, grade_code, engagement_smu_code"),
    PAS_INTERNA_RULE(Arrays.asList("CHN02,HKG02"), "ORDER BY engagement_le_code, engagement_mu_code, engagement_smu_code, employee_bu_code, employee_smu_code, rank_code, grade_code"),
    CNBR_EXTERNA_RULE(Arrays.asList("CHN03"), "ORDER BY engagement_le_code, engagement_ou_code, employee_bu_code, employee_smu_code, rank_code, grade_code"),
    ;

    /**
     * value
     */
    private final List<String> rules;
    /**
     * 名字
     */
    private final String sortColumns;


    RuleSortEnum(List<String> rules, String sortColumns) {
        this.rules = rules;
        this.sortColumns = sortColumns;
    }
}
