package com.stu.common.utils;

public class Result {

    private String statue = "200";
    private String message;
    private Object object;

    public String getStatue() {
        return statue;
    }

    public void setStatue(String statue) {
        this.statue = statue;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }
}

package com.stu.common.utils;

public class Result {

    private String status;
    private String message;
    private Object object;

    public Result(String status,String message){
        this.status = status;
        this.message = message;
    }

    public Result(String status,String message,Object obj){
        this.status = status;
        this.message = message;
        this.object = obj;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }
}

add constructor