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.
38 lines
638 B
38 lines
638 B
package com.liuyanzhao.ssm.blog.enums;
|
|
|
|
/**
|
|
* @author 言曌
|
|
* @date 2018/11/17 下午4:47
|
|
*/
|
|
|
|
public enum NoticeStatus {
|
|
|
|
NORMAL(1, "显示"),
|
|
HIDDEN(0, "隐藏");
|
|
|
|
private Integer value;
|
|
|
|
private String message;
|
|
|
|
NoticeStatus(Integer value, String message) {
|
|
this.value = value;
|
|
this.message = message;
|
|
}
|
|
|
|
public Integer getValue() {
|
|
return value;
|
|
}
|
|
|
|
public void setValue(Integer value) {
|
|
this.value = value;
|
|
}
|
|
|
|
public String getMessage() {
|
|
return message;
|
|
}
|
|
|
|
public void setMessage(String message) {
|
|
this.message = message;
|
|
}
|
|
}
|