nnnn
This commit is contained in:
@@ -8,12 +8,18 @@ import lombok.Getter;
|
||||
*/
|
||||
@Getter
|
||||
public enum ConsumeLogStatus {
|
||||
NO(-1),
|
||||
READY(0),
|
||||
ALREADY(1);
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user