package com.ruoyi.cai.enums; import lombok.Getter; /** * -1-无须分销 0-待分销 1-已分销 *

created on 2024/1/5 16:40

*/ @Getter public enum ConsumeLogStatus { NO(-1,"无需分销"), READY(0,"待分销"), ALREADY(1, "已分销"); private final Integer code; private String text; ConsumeLogStatus(Integer code) { this.code = code; } ConsumeLogStatus(Integer code, String text) { this.code = code; this.text = text; } }