package com.fs.xiaoshouyi.dto;

import lombok.Data;

@Data
public class SendConfirmResponse {

    private boolean success;
    private String code;
    private String msg;

    public static SendConfirmResponse error(String msg) {
        SendConfirmResponse response = new SendConfirmResponse();
        response.setSuccess(false);
        response.setCode("500");
        response.setMsg(msg);
        return response;
    }
}