7ae227095370639c74ecb66d4acfcce71d135ada.svn-base 1.05 KB
/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.sys.entity.config;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 系统用户分页数管理Entity
 * @author xuyg
 * @version 2016-11-10
 */
public class SysUserConfig extends DataEntity<SysUserConfig> {
	
	private static final long serialVersionUID = 1L;
	private String userid;		// 编号
	private String pagesize;		// 用户分页数值
	
	public SysUserConfig() {
		super();
	}

	public SysUserConfig(String id){
		super(id);
	}

	@Length(min=1, max=64, message="编号长度必须介于 1 和 64 之间")
	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}
	
	@Length(min=1, max=4, message="用户分页数值长度必须介于 1 和 4 之间")
	public String getPagesize() {
		return pagesize;
	}

	public void setPagesize(String pagesize) {
		this.pagesize = pagesize;
	}
	
}