TaskUserFindRequest.java 1.19 KB
/*
 * @(#)TaskUserFindRequest.java
 *
 * Copyright (c) 2014-2017  苏州犀牛网络科技有限公司 版权所有
 * 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.request;

import com.alibaba.fastjson.JSON;
import com.xiniunet.framework.base.BaseFindRequest;

import java.util.List;

/**
 * 高级查询任务分配表的请求.
 * @author 薛磊
 */
public class TaskUserFindRequest extends BaseFindRequest {

    /**
     * 任务ID,
     */
    private Long taskId;

    private List<Long> taskIds;

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    public List<Long> getTaskIds() {
        return taskIds;
    }

    public void setTaskIds(List<Long> taskIds) {
        this.taskIds = taskIds;
    }

    public void setTaskIds(String taskIds) {
        this.taskIds = JSON.parseArray(taskIds, Long.class);
    }
}