package com.hzs.common.core.enums;

import com.hzs.common.core.constant.EnumsPrefixConstants;
import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum EChargeType {

    WEIGHT(1, "按重量", 0, EnumsPrefixConstants.CHARGE_TYPE + "1"),

    VOLUME(2, "按体积", 0, EnumsPrefixConstants.CHARGE_TYPE + "2"),

    PIECE(3, "按件数", 0, EnumsPrefixConstants.CHARGE_TYPE + "3");

    /**
     * 实际值
     */
    private final int value;
    /**
     * 显示标签
     */
    private final String label;
    /**
     * 是否启用（0=是,1=否） -- 来源EYesNo
     */
    private final int enable;
    /**
     * 国际化翻译key值
     */
    private final String key;
}
