com.dahuatech.icc.assesscontrol.enums.AccessBusinessEnum Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk-accesscontrol Show documentation
Show all versions of java-sdk-accesscontrol Show documentation
Dahua ICC Open API SDK for Java
package com.dahuatech.icc.assesscontrol.enums;
import java.util.ArrayList;
import java.util.List;
/**
* 门禁业务事件
*/
public enum AccessBusinessEnum {
VALIDATE_RECORD("validate.record","认证记录")
;
public String code;
public String msg;
AccessBusinessEnum(String code,String msg){
this.code = code;
this.msg = msg;
}
public static List getBusinessTypes(){
List list = new ArrayList<>();
for(AccessBusinessEnum item : AccessBusinessEnum.values()){
list.add(item.code);
}
return list;
}
}