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


/**
 * 修改用户的请求.
 * @author xiniunet
 */
public class UserUpdateRequest extends BaseUpdateRequest {
    
    /**
     * 主键 
     */
    @NotNull(message = "主键不能为空")
    private Long id;
    
    /**
     * 是否是党员 
     */
    
    private Boolean isPartyMember;
    
    /**
     * 组织ID 
     */
    
    private Long partyId;
    
    
    public Long getId() {
        return id;
    }

    public void setId(Long  id) {
        this.id = id;
    }
    
    public Boolean getIsPartyMember() {
        return isPartyMember;
    }

    public void setIsPartyMember(Boolean  isPartyMember) {
        this.isPartyMember = isPartyMember;
    }
    
    public Long getPartyId() {
        return partyId;
    }

    public void setPartyId(Long  partyId) {
        this.partyId = partyId;
    }
    
}