com.dahuatech.icc.brm.constant.ParamConstant 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!
package com.dahuatech.icc.brm.constant;
/**
* program:java-sdk
*
* Author: 312013
* Date:2022-07-13 09:28
* Description: 基础框架错误枚举类
*/
public enum ParamConstant {
//人员
PERSON_PARAM_ERROR("871001","参数错误"),
//卡片
CARD_PARAM_ERROR("871011","参数错误"),
//车辆
CAR_PARAM_ERROR("871021", "参数错误"),
//部门
DEPT_PARAM_ERROR("871031", "参数错误"),
//设备通道
DEVICE_CHANNEL_PARAM_ERROR("871041", "参数错误"),
//设备
DEVICE_PARAM_ERROR("871051", "参数错误"),
//组织
ORGANIZATION_PARAM_ERRPR("871061", "参数错误"),
//人员
PERSON_PARAM_ERRPR("871071", "参数错误"),
//角色
ROLE_PARAM_ERRPR("871081", "参数错误"),
//用户
USER_PARAM_ERRPR("871091", "参数错误"),
;
private String code;
private String errMsg;
ParamConstant(String code, String errMsg){
this.code = code;
this.errMsg = errMsg;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public String getErrMsg() {
return errMsg;
}
public void setErrMsg(String errMsg) {
this.errMsg = errMsg;
}
}