1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
| package com.ltkj.tduck.enums;
|
| import com.baomidou.mybatisplus.annotation.EnumValue;
| import com.fasterxml.jackson.annotation.JsonValue;
| import com.ltkj.tduck.utils.IDictEnum;
| import lombok.AllArgsConstructor;
| import lombok.Getter;
| import lombok.NoArgsConstructor;
|
| /**
| * @author : smalljop
| * @description : 表单状态
| * @create : 2020-12-04 13:35
| **/
| @Getter
| @AllArgsConstructor
| @NoArgsConstructor
| public enum FormStatusEnum implements IDictEnum<Integer> {
|
| CREATE(1, "未发布"),
| RELEASE(2, "收集中"),
| STOP(3, "停止发布");
|
|
| @EnumValue
| @JsonValue
| private Integer value;
|
| private String desc;
|
| }
|
|