package com.gingersoft.gsa.cloud.base.common.bean;

import lombok.Data;

/**
 * Created by Wyh on 2020/1/15.
 */
@Data
public class BaseResult {

    /**
     * success : true
     * sysTime : 1579079565872
     * data : 40560
     */

    private boolean success;
    private long sysTime;
    private String errCode;
    private String errMsg;
    private Object data;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public long getSysTime() {
        return sysTime;
    }

    public void setSysTime(long sysTime) {
        this.sysTime = sysTime;
    }

    public String getErrCode() {
        return errCode;
    }

    public void setErrCode(String errCode) {
        this.errCode = errCode;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
