TopicCreateRequest.java 1.32 KB
/*
 * @(#)TopicCreateRequest.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.railway.request;

import com.xiniunet.framework.base.BaseRequest;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 创建消息推送的请求.
 * @author 
 */
public class TopicCreateRequest extends BaseRequest {
    
    /**
     * 标题
     * 
     */
    
    @Length(min=0, max=999, message = "标题长度不合法")
    private String title;
    
    /**
     * 内容
     * 
     */
    
    @Length(min=0, max=999, message = "内容长度不合法")
    private String content;
    

    
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
    
}