EventGetByEventIdRequest.java 925 Bytes
/*
 * @(#)EventGetRequest.java
 *
 * Copyright (c) 2014-2017  xiniunet 版权所有
 * 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.railway.request;

import com.xiniunet.framework.base.BaseRequest;

import javax.validation.constraints.NotNull;

/**
 * 通过id查询事件的请求.
 * @author xiniunet
 */
public class EventGetByEventIdRequest extends BaseRequest {

    /**
     * 事件ID
     */
    @NotNull(message = "事件ID不能为空")
    private String eventId;

    public String getEventId() {
        return eventId;
    }

    public void setEventId(String eventId) {
        this.eventId = eventId;
    }
}