TaskBackDomain.java 1.32 KB
package com.huaheng.pc.task.taskHeader.domain;

import java.util.Map;

public class TaskBackDomain {
    /**
     * 是否成功
     */
    private boolean isSuc;

    /**
     *
     */
    private String msg;
    /**
     * 回传信息Map
     */
    private Map<String,String> msgMaps;
    /**
     * 回传标识 0:其他(不需要回传 1:失败 2:成功
     */
    private int backNum;
    /**
     * 上架任务 or 出库任务
     */
    private Integer type;

    public boolean getIsSuc() {
        return isSuc;
    }

    public TaskBackDomain setIsSuc(boolean isSuc) {
        this.isSuc = isSuc;
        return this;
    }

    public Map<String, String> getMsgMaps() {
        return msgMaps;
    }

    public TaskBackDomain setMsgMaps(Map<String, String> msgMaps) {
        this.msgMaps = msgMaps;
        return this;
    }

    public int getBackNum() {
        return backNum;
    }

    public TaskBackDomain setBackNum(int backNum) {
        this.backNum = backNum;
        return this;
    }

    public Integer getType() {
        return type;
    }

    public TaskBackDomain setType(Integer type) {
        this.type = type;
        return this;
    }

    public String getMsg() {
        return msg;
    }

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