SafeMessageUpdateRequest.java 1.25 KB
/*
 * @(#)SafeMessageUpdateRequest.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.BaseUpdateRequest;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;


/**
 * 修改的请求.
 * @author 
 */
public class SafeMessageUpdateRequest extends BaseUpdateRequest {
    
    /**
     *  
     */
    @NotNull(message = "不能为空")
    private Long id;
    
    /**
     *  
     */
    @NotBlank(message = "不能为空")
    private String description;
    
    
    public Long getId() {
        return id;
    }

    public void setId(Long  id) {
        this.id = id;
    }
    
    public String getDescription() {
        return description;
    }

    public void setDescription(String  description) {
        this.description = description;
    }
    
}