修改发布状态
parent
ab490e4156
commit
77ec78eff0
@ -0,0 +1,25 @@
|
|||||||
|
package com.ibeetl.jlw.enums;
|
||||||
|
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Getter;
|
||||||
|
import org.beetl.sql.annotation.entity.EnumMapping;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 发布 PUSH
|
||||||
|
* 未发布 UN_PUSH
|
||||||
|
*/
|
||||||
|
|
||||||
|
@Getter
|
||||||
|
@AllArgsConstructor
|
||||||
|
@EnumMapping("name")
|
||||||
|
public enum GlobalPushStatusEnum {
|
||||||
|
// 发布
|
||||||
|
PUSH(1, "发布"),
|
||||||
|
// 未发布
|
||||||
|
UN_PUSH(2, "未发布");
|
||||||
|
|
||||||
|
private Integer code;
|
||||||
|
|
||||||
|
private String text;
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue