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.
30 lines
572 B
30 lines
572 B
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;
|
|
}
|
|
}
|
|
|