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.
31 lines
572 B
31 lines
572 B
1 year ago
|
package com.zc.business.enums;
|
||
|
|
||
|
/**
|
||
|
* 警情状态
|
||
|
* @author xiepufeng
|
||
|
*/
|
||
|
public enum WarningStateEnum {
|
||
|
REPORTED(1, "上报"),
|
||
|
COMPLETED(2, "已完成"),
|
||
|
TERMINATED(3, "已终止"),
|
||
|
AUTO_ENDED(4, "自动结束");
|
||
|
|
||
|
private final Integer code;
|
||
|
|
||
|
private final String description;
|
||
|
|
||
|
public Integer getCode()
|
||
|
{
|
||
|
return code;
|
||
|
}
|
||
|
|
||
|
WarningStateEnum(Integer code, String description) {
|
||
|
this.code = code;
|
||
|
this.description = description;
|
||
|
}
|
||
|
|
||
|
public String getDescription() {
|
||
|
return description;
|
||
|
}
|
||
|
}
|