mirror of https://github.com/alibaba/easyexcel
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
553 B
36 lines
553 B
package com.alibaba.atasuper.api.demo.enums; |
|
|
|
import com.alibaba.easytools.base.enums.BaseEnum; |
|
|
|
import lombok.Getter; |
|
|
|
/** |
|
* TODO 示例状态枚举 |
|
* |
|
* @author 是仪 |
|
*/ |
|
@Getter |
|
public enum DemoStatusEnum implements BaseEnum<String> { |
|
|
|
/** |
|
* 草稿 |
|
*/ |
|
DRAFT("草稿"), |
|
|
|
/** |
|
* 线上 |
|
*/ |
|
RELEASE("线上"), |
|
; |
|
|
|
final String description; |
|
|
|
DemoStatusEnum(String description) { |
|
this.description = description; |
|
} |
|
|
|
@Override |
|
public String getCode() { |
|
return this.name(); |
|
} |
|
}
|
|
|