package org.springblade.openapi.wps.pojo.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 *  wps回调接口错误
 * @author bfhuange
 * @since 2024/11/26
 */
@NoArgsConstructor
@Data
public class Api4WpsErrorVO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    /**
     *  错误码
     */
    private Integer code;
    /**
     *  错误提示
     */
    private String message;
    /**
     *  错误提示详细信息
     */
    private String details;
    /**
     *  自定义错误信息，当code为40007错误码时必填
     */
    private String hint;

    public Api4WpsErrorVO(Integer code, String message, String hint) {
        this.code = code;
        this.message = message;
        this.hint = hint;
    }
}
