TaskCreateResponse.java 1.08 KB
/**
 * @(#)TaskCreateResponse.java
 *
 * Copyright (c) 2014-2014  苏州犀牛网络科技有限公司 版权所有
 * xiniunet. All rights reserved.
 *
 * This software is the confidential and proprietary
 * information of  xiniunet.
 * ("Confidential Information"). You shall not disclose
 * such Confidential Information and shall use it only
 * in accordance with the terms of the contract agreement
 * you entered into with xiniunet.
 */
package com.xiniunet.task.response;

import com.xiniunet.framework.base.BaseResponse;
import com.xiniunet.task.domain.Task;

/**
 * Created by 沈振家 on 2016-11-28 16:23:01.
 * @author 沈振家
 */
public class TaskCreateResponse extends BaseResponse {
    private static final long serialVersionUID = 1L;
    /** 新创建的任务ID */
    private Long id;
    /**
     * 创建的任务
     */
    private Task task;

    public Task getTask() {
        return task;
    }

    public void setTask(Task task) {
        this.task = task;
    }

    public Long getId() {
    return id;
    }

    public void setId(Long id) {
    this.id = id;
    }
}