package com.cnooc.expert.common.exception;

import lombok.Data;

@Data
public class ErrorCode {

    /**
     * 错误码
     */
    private final Integer code;

    /**
     * 错误提示
     */
    private final String msg;

    public ErrorCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
