com.dahuatech.icc.brm.enums.CommonEnum Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk-brm Show documentation
Show all versions of java-sdk-brm Show documentation
Dahua ICC Open API SDK for Java
The newest version!
/*
*
* *********************** 版权声明 ***********************************
*
* 版权所有:浙江大华技术股份有限公司
* ©CopyRight DahuaTech 2019
*
* *********************************************************************
*
*/
package com.dahuatech.icc.brm.enums;
import java.util.Arrays;
import java.util.List;
public enum CommonEnum {
//状态
FROZEN(2, "冻结"),
COMMON(1, "正常"),
DELETE(0, "已删除"),
;
public static final List NORMALS = Arrays.asList(CommonEnum.COMMON,CommonEnum.FROZEN);
private Integer id;
private String name;
CommonEnum(Integer id, String name) {
this.id = id;
this.name = name;
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}