package com.ygtx.common.core.domain.ice;

/**
 * ICE待办任务响应实体
 *
 * @author ygt
 */
public class IcePendingTaskResponse
{
    /**
     * 返回码，接口执行状态。"0" -成功
     */
    private Integer ret;

    /**
     * 返回码对应的描述信息
     */
    private String msg;

    /**
     * 返回的参数包
     */
    private String data;

    /**
     * 格林尼治标准时间
     */
    private String time;

    /**
     * 是否成功
     */
    private Boolean success;

    // Getters and Setters
    public Integer getRet()
    {
        return ret;
    }

    public void setRet(Integer ret)
    {
        this.ret = ret;
        this.success = (ret != null && ret == 0);
    }

    public String getMsg()
    {
        return msg;
    }

    public void setMsg(String msg)
    {
        this.msg = msg;
    }

    public String getData()
    {
        return data;
    }

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

    public String getTime()
    {
        return time;
    }

    public void setTime(String time)
    {
        this.time = time;
    }

    public Boolean getSuccess()
    {
        return success;
    }

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