package com.ytpm.general;

import lombok.Data;

/**
 * @author marx
 * @date 2022/4/8 9:46
 */
@Data
public class StatusCode {
    public static final int OK = 200;

    /** 访问错误 */
    public static final int ACCESS_ERR = 301;
    /** 风控校验失败 */
    public static final int ACCESS_RISK_ERROR = 3012;
    /** 参数缺失 */
    public static final int MISSING_PARAMETER = 302;
    /** 参数校验错误 */
    public static final int PARAMETER_CHECK_ERR = 303;
    /** 参数绑定错误 */
    public static final int PARAMETER_BINDING_ERR = 306;
    /** 用户不存在*/
    public static final int USER_NOT_EXIST = 307;
    /** 用户已存在 */
    public static final int USER_EXIST = 327;
    public static final int ROLE_EXIST = 329;
    /** 账户密码错误 */
    public static final int PWD_ERROR = 308;
    /** 用户ID不能为空 */
    public static final int USER_ID_EMPTY = 309;
    public static final int DEPT_ID_EMPTY = 321;
    /** 当前菜单节点有子菜单，请先删除子菜单 */
    public static final int CHILD_NOT_DEL = 310;
    /** RPC远程调用失败 */
    public static final int RPC_FAIL = 311;
    /** 业务订单不存在 */
    public static final int BUSINESS_NOT_FOUND = 312;

    /**已提交不可修改 修改失败*/
    public static final int MODIFY_FAIL = 313;

    /** 提交错误  操作失败*/
    public static final int COMMIT_ERROR = 314;

    /** 风险审核记录不存在 */
    public static final int RISK_BUSINESS_NOT_FOUND = 315;

    /** 业务状态错误 */
    public static final int BUSINESS_STATUS_ERROR = 316;

    /** 该笔业务对应当前借款的相关操作状态 **/
    public static  final  int  BUSINESS_BORROWING_OPERATION_STATUS_ERROR=317;

    /** 证件格式不正确 **/
    public static  final  int  BUSINESS_CERTIFICATE_TYPE_STATUS_ERROR=318;

    /** 当前节点操作状态错误 **/
    public static  final  int  BUSINESS_CURRENT_OPERATE_STATUS_ERROR=319;

    /** 手机号码不正确 */
    public static  final  int  BUSINESS_CONCAT_NUMBER_ERROR=320;

    /** 过户日期不能为空 */
    public static  final  int  HOUSE_TRANSFER_DATE_EMPTY=322;
    /** 过户时间不能为空 */
    public static  final  int  HOUSE_TRANSFER_TIME_EMPTY=323;
    /** 预计取证日期不能为空 */
    public static  final  int  ESTIMATED_FORENSICS_DATE_EMPTY=324;
    /** 预计取证时间不能为空 */
    public static  final  int  ESTIMATED_FORENSICS_TIME_EMPTY=325;

    public static  final  int  HOUSE_TRANSFER_IMG_EMPTY=326;
    public static  final  int  PWD_NOT_SAME=327;

    public static  final  int PHONE_NOT_EXIST=328;
    /** 查档无记录 */
    public static  final  int WHTHIN_NO_RECORD=329;

    /**
     * 登出
     */
    public static final int MANAGE_NOT_LOGIN = 1024;


    public static final int ERROR = 801;

    public static final int TIME_OUT = 802;

    public static final int USER_NAME_EMPTY = 803;

    public static final int PWD_EMPTY = 804;

    public static final int RESERVE_LOAN_TIME_EMPTY = 805;

    public static final int ORGANIZATION_ID_EMPTY = 806;

    public static final int TASK_NOT_EXIST = 807;

    /** 请求参数有误 **/

    /**  接口 查询失败/访问失败    */
    public  static  final  int PARAM_ERROR=809;



    /************************* 移动端code******************************************************/
        /**免登陆失败   */
    public  static  final  int WEB_FREE_LOGIN_FAIL=10100;
        /** 登录失败  */
    public  static  final  int WEB_LOGIN_FAIL=10101;

}
