TaskDoneByObjectRequest.java 1.34 KB
/**
 * @(#)TaskUpdateRequest.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.request;

import com.xiniunet.framework.base.BaseUpdateRequest;
import com.xiniunet.task.enumeration.TaskObjectTypeEnum;

import javax.validation.constraints.NotNull;


/**
 * Created by 沈振家 on 2016-11-28 16:23:01.
 * @author 沈振家
 */
public class TaskDoneByObjectRequest extends BaseUpdateRequest {
    
    /**
     * 对象ID 
     */
    @NotNull(message = "对象ID不能为空")
    private  Long   objectId;

    /**
     * 对象类型
     */

    @NotNull(message = "对象类型不能为空")
    private TaskObjectTypeEnum objectType;

    public Long getObjectId() {
        return objectId;
    }

    public void setObjectId(Long objectId) {
        this.objectId = objectId;
    }

    public TaskObjectTypeEnum getObjectType() {
        return objectType;
    }

    public void setObjectType(TaskObjectTypeEnum objectType) {
        this.objectType = objectType;
    }
}