package com.kxs.common.core.constant.enums;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * <p>
 * 客小爽职级升级交易额
 *
 * @author 没秃顶的码农
 * @date 2023/10/27
 */
@Getter
@RequiredArgsConstructor
public enum UserLevelPolicyEnum {

	K0(0, 0L, 1000000L),
	K1(1, 1000000L, 3000000L),
	K2(2, 3000000L, 8000000L),
	K3(3, 8000000L, 15000000L),
	K4(4, 15000000L, 30000000L),
	K5(5, 30000000L, 60000000L),
	K6(6, 60000000L, 100000000L),
	K7(7, 100000000L, 300000000L),
	K8(8, 300000000L, 500000000L),
	K9(9, 500000000L, 5000000000000L);

	/**
	 * 等级
	 */
	private final Integer level;

	/**
	 * 最小交易额
	 */
	private final Long minTrade;

	/**
	 * 最小交易额
	 */
	private final Long maxTrade;

}
