package com.wx.application.base;

/**
 * 错误码枚举
 */
public enum ErrorCodeEnum {
    SUCCESS,
    SYSTEM_ERROR,
    PARAM_ERROR,
    UNAUTHORIZED,
    AUTHORIZATION_EXPIRED,

    LOGIN_ERROR,
    // 旧密码错误
    OLD_PASSWORD_ERROR,

    NO_PERMISSION,

    NO_PROFESSOR_EXIST,

    MOBILE_USED,
    USER_NOT_EXIST,
    ROTATEMENT_NOT_EXIST,
    ROTATEMENT_HAS_BEEN_MARKED,

    // 已签到
    SIGNED_IN,
    // 混合购物
    MIXED_SHOPPING,
    // 商品不存在
    GOOD_ITEM_NOT_FOUND,
    GOOD_ITEM_NOT_ENOUGH,
    // 订单商品为空
    ORDER_ITEM_IS_EMPTY,
    // 租赁日期不合法
    LEASE_DAY_INCORRECT,

    // 服务器内部错误
    INTERNAL_ERROR,

    // 已经签约过
    ALREADY_SIGNED,
    UNIT_NAME_EXIST,
    MEDICAL_INSURANCE_NAME_EXIST,
    NURSE_NAME_EXIST,
    DOCTOR_NAME_EXIST,
    DEPARTMENT_NAME_EXIST,
    MSG_TO_FAST,
    SECURITY_CODE_INVALID
}
