package com.xueyi.common.web.constant;

import com.xueyi.common.web.annotation.ResponseMessage;

public class ResponseCode {
    @ResponseMessage(
            msg = {"SUCCESS"}
    )
    public static final Integer SUCCESS = 0;
    @ResponseMessage(
            lang = {"zh", "en"},
            msg = {"参数#p0#不合法或为空", "Missing #p0# parameter or empty"}
    )
    public static final Integer ILLEGAL_PARAMETER = 2;
    @ResponseMessage(
            msg = {"JSON内容不能为空"}
    )
    public static Integer JSON_PARAMETER_NULL = 4;
    @ResponseMessage(
            msg = {"[#p0#]保存失败"}
    )
    public static final Integer SAVE_FAILED = 5;
    @ResponseMessage(
            msg = {"[#p0#]更新失败"}
    )
    public static final Integer UPDATE_FAILED = 6;
    @ResponseMessage(
            msg = {"日期格式不正确"}
    )
    public static final Integer DATE_FORMAT_ERROR = 7;
    @ResponseMessage(
            msg = {"[#p0#]数据不存在"}
    )
    public static final Integer DATA_NOT_EXISTS = 8;
    @ResponseMessage(
            msg = {"业务处理超时"}
    )
    public static final Integer BUSINESS_TIMEOUT = 9;
    @ResponseMessage(
            msg = {"请求头缺少[#p0#]参数"}
    )
    public static final Integer HEADER_MISSING_PARAM = 10;
    @ResponseMessage(
            msg = {"请求已失效"}
    )
    public static final Integer REQUEST_OUT_OF_TIME = 11;
    @ResponseMessage(
            msg = {"签名失败"}
    )
    public static final Integer SIGN_FAIL = 12;
    @ResponseMessage(
            msg = {"Content-Type 必须为 [#p0#]"}
    )
    public static final Integer CONTENT_TYPE_ERROR = 13;
    @ResponseMessage(
            msg = {"删除失败"}
    )
    public static final Integer DELETE_FAILURE = 14;
    @ResponseMessage(
            msg = {"非法请求"}
    )
    public static final Integer BAD_REQUEST = 400;
    @ResponseMessage(
            msg = {"不支持该请求方法"}
    )
    public static final Integer METHOD_NOT_ALLOW = 405;
    @ResponseMessage(
            msg = {"Context-Type不匹配"}
    )
    public static final Integer MEDIA_TYPE_ERROR = 415;
    @ResponseMessage(
            msg = {"服务器内部错误"}
    )
    public static final Integer SERVER_INTERNAL_ERROR = 500;
    @ResponseMessage(
            msg = {"注册失败"}
    )
    public static final Integer REGISTER_FAIL = 40000;
    @ResponseMessage(
            msg = {"用户不存在"}
    )
    public static final Integer UNREGISTER = 40001;
    @ResponseMessage(
            msg = {"用户已注册"}
    )
    public static final Integer REGISTED = 40002;
    @ResponseMessage(
            msg = {"用户名或密码错误"}
    )
    public static final Integer USERNAME_PWD_ERROR = 40003;
    @ResponseMessage(
            msg = {"用户未关注公众号"}
    )
    public static final Integer USER_NOT_SUBSCRIBE_OFFICE_ACCOUNT = 40004;
    @ResponseMessage(
            msg = {"手机号码格式不正确"}
    )
    public static final Integer PHONE_FORMAT_ERROR = 40020;
    @ResponseMessage(
            msg = {"短信发送次数受限"}
    )
    public static final Integer SHORT_MSG_SEND_LIMIT = 40021;
    @ResponseMessage(
            msg = {"短信平台异常"}
    )
    public static final Integer SHORT_MSG_PLATFORM_ERROR = 40022;
    @ResponseMessage(
            msg = {"验证码不正确"}
    )
    public static final Integer SHORT_MSG_CODE_ERROR = 40023;
    @ResponseMessage(
            msg = {"验证码已使用"}
    )
    public static final Integer SHORT_MSG_CODE_USED = 40024;
    @ResponseMessage(
            msg = {"验证码已失效"}
    )
    public static final Integer SHORT_MSG_CODE_INVALID = 40025;
    @ResponseMessage(
            msg = {"登录编号不正确"}
    )
    public static final Integer LOGIN_NUMBER_ERROR = 40026;
    @ResponseMessage(
            msg = {"登录编号/手机号码完全不匹配"}
    )
    public static final Integer LOGIN_NUMBER_AND_TEL_ERROR = 40027;
    @ResponseMessage(
            msg = {"非法文件格式"}
    )
    public static final Integer FILE_FORMAT_ERROR = 40030;
    @ResponseMessage(
            msg = {"文件大小超出限制"}
    )
    public static final Integer FILE_SIZE_LIMIT = 40031;
    @ResponseMessage(
            msg = {"文件上传失败"}
    )
    public static final Integer FILE_UPLOAD_FAIL = 40032;
    @ResponseMessage(
            msg = {"文件名不合法"}
    )
    public static final Integer FILE_NAME_ERROR = 40033;
    @ResponseMessage(
            msg = {"文件不存在"}
    )
    public static final Integer FILE_NOT_FOUND = 40034;
    @ResponseMessage(
            msg = {"文件像素宽或高必须小于[#p0#]"}
    )
    public static final Integer FILE_PIXEL_ERROR = 40035;
    @ResponseMessage(
            msg = {"Token错误"}
    )
    public static final Integer TOKEN_ERROR = 40070;
    @ResponseMessage(
            msg = {"Token已过期"}
    )
    public static final Integer TOKEN_OUT_OF_TIME = 40071;
    @ResponseMessage(
            msg = {"appId appId"}
    )
    public static final Integer APP_ID_EMPTY = 40080;
    @ResponseMessage(
            msg = {"appId 不存在"}
    )
    public static final Integer APP_ID_ERROR = 40081;
    @ResponseMessage(
            msg = {"应用等待审核"}
    )
    public static final Integer APP_WAITTING_CHECK = 40082;
    @ResponseMessage(
            msg = {"应用审核中"}
    )
    public static final Integer APP_CHECKING = 40083;
    @ResponseMessage(
            msg = {"应用审核不通过"}
    )
    public static final Integer APP_NOT_PASS = 40084;
    @ResponseMessage(
            msg = {"获取微信用户session失败"}
    )
    public static final Integer WECHAT_GET_SESSION_FAIL = 40090;
    @ResponseMessage(
            msg = {"提交的商品信息不能为空"}
    )
    public static final Integer PRODUCTS_NULL = 40100;
    @ResponseMessage(
            msg = {"商品价格有误"}
    )
    public static final Integer PRODUCT_PRICE_ERROR = 40101;
    @ResponseMessage(
            msg = {"订单保存失败"}
    )
    public static final Integer ORDER_SAVE_FAILED = 40102;
    @ResponseMessage(
            msg = {"微信订单创建失败"}
    )
    public static final Integer WECHAT_ORDER_CREATE_FAIL = 40103;
    @ResponseMessage(
            msg = {"订单商品不能为空"}
    )
    public static final Integer ORDER_PRODUCT_LIST_NULL = 40104;
    @ResponseMessage(
            msg = {"结算区不存在"}
    )
    public static final Integer DEAL_ZONE_NOT_FOUND = 40105;
    @ResponseMessage(
            msg = {"订单不存在"}
    )
    public static final Integer ORDER_NOT_FOUND = 40106;
    @ResponseMessage(
            msg = {"不合法的支付方式"}
    )
    public static final Integer ILLEAGE_PAYMENT = 40107;
    @ResponseMessage(
            msg = {"您已开通免密支付功能"}
    )
    public static final Integer ONE_STEP_PAYMENT_OPENED = 40108;
    @ResponseMessage(
            msg = {"便捷支付签约中"}
    )
    public static final Integer CONTRACTING = 40109;
    @ResponseMessage(
            msg = {"未开通便捷支付"}
    )
    public static final Integer CONTRACT_NOT_OPEN = 40110;
    @ResponseMessage(
            msg = {"订单已完成或关闭"}
    )
    public static final Integer ORDER_CLOSED = 40111;
    @ResponseMessage(
            msg = {"微信免密解约失败"}
    )
    public static final Integer DELETE_CONTRACT_FAIL = 40112;
    @ResponseMessage(
            msg = {"暂不支持开通免密功能"}
    )
    public static final Integer NOT_SUPPORT_OPEN_OENSTEP_PAYMENT = 40113;
    @ResponseMessage(
            msg = {"开通免密功能人数已达上限"}
    )
    public static final Integer OPEN_ONESTEP_PAYMENT_PEOPLE_LIMIT = 40114;
    @ResponseMessage(
            msg = {"商店不存在"}
    )
    public static final Integer SHOP_NOT_FOUND = 40120;
    @ResponseMessage(
            msg = {"该手机号码已被注册"}
    )
    public static final Integer PHONENUM_IS_USED = 40121;
    @ResponseMessage(
            msg = {"图书未找到"}
    )
    public static final Integer BOOK_NOT_FOUND = 40131;
    @ResponseMessage(
            msg = {"图书不在库"}
    )
    public static final Integer BOOK_NOT_INSTOCK = 40132;
    @ResponseMessage(
            msg = {"图书未借出"}
    )
    public static final Integer BOOK_NOT_BORROWED = 40133;
    @ResponseMessage(
            msg = {"未找到借阅记录"}
    )
    public static final Integer BOOK_RECORD_NOT_FOUND = 40134;
    @ResponseMessage(
            msg = {"借书数量超过最大可借书数量"}
    )
    public static final Integer OVER_MAX_BORROW_NUM = 40135;
    @ResponseMessage(
            msg = {"书籍已丢失"}
    )
    public static final Integer BOOK_ALREADLY_LOST = 40136;
    @ResponseMessage(
            msg = {"账户正常"}
    )
    public static final Integer CUSTOMER_NORMAL = 50000;
    @ResponseMessage(
            msg = {"账户逾期"}
    )
    public static final Integer CUSTOMER_OVERDUE = 50001;
    @ResponseMessage(
            msg = {"账户锁定"}
    )
    public static final Integer CUSTOMER_LOCKING = 50002;
    @ResponseMessage(
            msg = {"账户无权限"}
    )
    public static final Integer CUSTOMER_NOT_PERMISSION = 50003;
    @ResponseMessage(
            msg = {"账户离职"}
    )
    public static final Integer CUSTOMER_LEAVE = 50004;
    @ResponseMessage(
            msg = {"未知错误"}
    )
    public static final Integer CW_FACE_NG = 10000;
    @ResponseMessage(
            msg = {"检测异常"}
    )
    public static final Integer CW_FACE_DET_FAIL = 10001;
    @ResponseMessage(
            msg = {"提取特征值异常"}
    )
    public static final Integer CW_FACE_FEATURE_FAIL = 10002;
    @ResponseMessage(
            msg = {"人脸对比错误"}
    )
    public static final Integer CW_FACE_COMPARE_FAIL = 10003;
    @ResponseMessage(
            msg = {"更新的识别底图不是同一个人"}
    )
    public static final Integer CW_FACE_UPLOAD_DIFFERENT_USER = 10005;
    @ResponseMessage(
            msg = {"数据库异常或者操作此数据错误"}
    )
    public static final Integer CW_FACE_SQL_FAIL = 10010;
    @ResponseMessage(
            msg = {"参数错误"}
    )
    public static final Integer CW_FACE_PARAM_ERROR = 10011;
    @ResponseMessage(
            msg = {"图片不存在"}
    )
    public static final Integer CW_FACE_IMG_NO_EXIST = 11002;
    @ResponseMessage(
            msg = {"图片为空"}
    )
    public static final Integer CW_FACE_IMG_NULL = 11003;
    @ResponseMessage(
            msg = {"未找到人脸"}
    )
    public static final Integer CW_FACE_IMG_NO_FACE = 11004;
    @ResponseMessage(
            msg = {"人脸图片质量差"}
    )
    public static final Integer CW_FACE_IMG_QUALITY = 11005;
    @ResponseMessage(
            msg = {"人脸图片太小"}
    )
    public static final Integer CW_FACE_IMG_SMALL = 11006;
    @ResponseMessage(
            msg = {"人脸小于阈值"}
    )
    public static final Integer CW_FACE_IMG_FACE_SMALL = 11007;
    @ResponseMessage(
            msg = {"没有此ID"}
    )
    public static final Integer CW_FACE_NO_FACE_ID = 11008;
    @ResponseMessage(
            msg = {"人脸图片清晰度差"}
    )
    public static final Integer CW_FACE_MOG_ERROR = 11009;
    @ResponseMessage(
            msg = {"人脸图片头偏转太大"}
    )
    public static final Integer CW_FACE_POSE_ERROR = 11010;
    @ResponseMessage(
            msg = {"没有找到此人"}
    )
    public static final Integer CW_FACE_NO_REGISTER = 12000;
    @ResponseMessage(
            msg = {"正在更新底图"}
    )
    public static final Integer CW_FACE_FEATURE_UPDATING = 13000;
    @ResponseMessage(
            msg = {"非研究院员工"}
    )
    public static final Integer NOT_LR_STAFF = 40009;
    @ResponseMessage(
            msg = {"ITCode和员工编号不匹配"}
    )
    public static final Integer MATCH_FAIL = 40010;
    @ResponseMessage(
            msg = {"该ITCode已被注册"}
    )
    public static final Integer ITCODE_USED = 40011;
    @ResponseMessage(
            msg = {"没发现人脸"}
    )
    public static final Integer NOT_FOUND_FACE = 40200;
    @ResponseMessage(
            msg = {"未检测到人脸识别设备"}
    )
    public static final Integer FACE_DEVICE_NOT_FOUND = 40201;
    @ResponseMessage(
            msg = {"陌生人无权限进入"}
    )
    public static final Integer NOT_ALLOW_STRANGER_ENTER = 40210;
    @ResponseMessage(
            msg = {"访客无权限进入"}
    )
    public static final Integer NOT_ALLOW_GUEST_ENTER = 40211;
    @ResponseMessage(
            msg = {"员工无权限进入"}
    )
    public static final Integer NOT_ALLOW_EMP_ENTER = 40212;
    @ResponseMessage(
            msg = {"不在允许的有效时间范围内"}
    )
    public static final Integer NOT_IN_VALIDATE_DATE = 40214;
    @ResponseMessage(
            msg = {"设备已禁用"}
    )
    public static final Integer DEVICE_DISABLED = 40216;
    @ResponseMessage(
            msg = {"设备ID已被其他设备使用"}
    )
    public static final Integer DEVICE_ID_HAS_BEEN_USED = 40218;
    @ResponseMessage(
            msg = {"设备已关联，不能重复关联"}
    )
    public static final Integer DEVICE_HAS_BEEN_BOUND = 40219;
    @ResponseMessage(
            msg = {"设备MAC地址不存在"}
    )
    public static final Integer DEVICE_MAC_ADDRESS_NOT_FOUND = 40220;
    @ResponseMessage(
            msg = {"seq校验失败"}
    )
    public static final Integer SEQ_ERROR = 40300;
    @ResponseMessage(
            msg = {"username校验失败"}
    )
    public static final Integer USERNAME_ERROR = 40302;
    @ResponseMessage(
            msg = {"员工已用餐"}
    )
    public static final Integer EMP_ALREAY_USED_MEAL = 51000;
    @ResponseMessage(
            msg = {"员工班次信息异常"}
    )
    public static final Integer EMP_SHIFT_INFO_REEOR = 51001;
    @ResponseMessage(
            msg = {"员工不在就餐时段"}
    )
    public static final Integer EMP_NOT_IN_USED_MEAL_TIME = 51002;
    @ResponseMessage(
            msg = {"请点击确定按钮"}
    )
    public static final Integer NEED_EMP_CLICK_BUTTON = 51010;

    @ResponseMessage(
            msg = {"非法请求，认证未通过"}
    )
    public static final Integer AUTH_NOT_PASS = 4004;

    @ResponseMessage(
            msg = {"(#p0#)该ID不存在设备记录"}
    )
    public static final Integer PARAM_ID_NOT_EXIST_RECORD = 3004;

    @ResponseMessage(
            msg = {"未匹配到访客"}
    )
    public static final Integer NOT_FOUND_VISITOR = 5404;

    @ResponseMessage(
            msg = {"会议室预订时间点有冲突"}
    )
    public static final Integer MEETING_ORDER_CONFLICT = 5501;

    @ResponseMessage(
            msg = {"会议室预订时间错误"}
    )
    public static final Integer MEETING_ORDER_TIME_ERROR = 5502;

    @ResponseMessage(
            msg = {"未匹配到指定的会议记录"}
    )
    public static final Integer MEETING_RECORD_NOT_FOUND = 5503;

    @ResponseMessage(
            msg = {"请求参数不能全空"}
    )
    public static final Integer MEETING_PARAMS_NOT_EXISTED = 5504;


    @ResponseMessage(
            msg = {"非法请求或参数列表错误(#p0#)"}
    )
    public static final Integer CHECK_PARAMS_ERROR = 5005;

    @ResponseMessage(
            msg = {"文件服务异常，请联系管理员！"}
    )
    public static final Integer FILE_SERVICE_ERROR = 6000;
    public ResponseCode() {
    }
}
