package com.blueland.bo;

import java.util.*;

import com.blueland.model.Query;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;
@Data
@EqualsAndHashCode(callSuper=false)
public class PubUserEntity extends Query {
	private static final long serialVersionUID = 1L;
	//alias
	public static final String TABLE_ALIAS = "PubUser";
	
		
	//可以直接使用: @Length(max=50,message="用户名长度不能大于50")显示错误消息
	//columns START
	/**
	* userId       db_column: USER_ID 
	*/	
	@Length(max=50)
	private String userId;
	/**
	* userCode       db_column: USER_CODE 
	*/	
	@NotBlank @Length(max=50)
	private String userCode;
	/**
	* userName       db_column: USER_NAME 
	*/	
	@NotBlank @Length(max=50)
	private String userName;
	/**
	* userSex       db_column: USER_SEX 
	*/	
	@Length(max=2)
	private String userSex;
	/**
	* userAge       db_column: USER_AGE 
	*/	
	
	private Integer userAge;
	/**
	* companyId       db_column: COMPANY_ID 
	*/	
	@NotBlank @Length(max=50)
	private String companyId;
	/**
	* orgId       db_column: ORG_ID 
	*/	
	@NotBlank @Length(max=50)
	private String orgId;
	/**
	* userMobile       db_column: USER_MOBILE 
	*/	
	@Length(max=50)
	private String userMobile;
	/**
	* userMail       db_column: USER_MAIL 
	*/	
	@Length(max=100)
	private String userMail;
	/**
	* userWorkAddress       db_column: USER_WORK_ADDRESS 
	*/	
	@Length(max=65535)
	private String userWorkAddress;
	/**
	* userWorkPhone       db_column: USER_WORK_PHONE 
	*/	
	@Length(max=100)
	private String userWorkPhone;
	/**
	* userHomeAddree       db_column: USER_HOME_ADDREE 
	*/	
	@Length(max=65535)
	private String userHomeAddree;
	/**
	* userHomePhone       db_column: USER_HOME_PHONE 
	*/	
	@Length(max=100)
	private String userHomePhone;
	/**
	* positionId       db_column: POSITION_ID 
	*/	
	@Length(max=50)
	private String positionId;
	/**
	* pluralityPositionId       db_column: PLURALITY_POSITION_ID 
	*/	
	@Length(max=50)
	private String pluralityPositionId;
	/**
	* titleId       db_column: TITLE_ID 
	*/	
	@Length(max=100)
	private String titleId;
	/**
	* pluralityTitleId       db_column: PLURALITY_TITLE_ID 
	*/	
	@Length(max=100)
	private String pluralityTitleId;
	/**
	* userType       db_column: USER_TYPE 
	*/	
	@Length(max=10)
	private String userType;
	/**
	* userStatus       db_column: USER_STATUS 
	*/	
	@NotBlank @Length(max=10)
	private String userStatus;
	/**
	* userSort       db_column: USER_SORT 
	*/	
	
	private Integer userSort;
	/**
	* password       db_column: PASSWORD 
	*/	
	@Length(max=100)
	private String password;
	/**
	* salt       db_column: SALT 
	*/	
	@Length(max=100)
	private String salt;
	/**
	* userCreateTime       db_column: USER_CREATE_TIME 
	*/	
	
	private Date userCreateTime;
	/**
	* userUpdateTime       db_column: USER_UPDATE_TIME 
	*/	
	
	private Date userUpdateTime;
	/**
	* userCreator       db_column: USER_CREATOR 
	*/	
	@Length(max=30)
	private String userCreator;
	/**
	* remark       db_column: REMARK 
	*/	
	@Length(max=65535)
	private String remark;
	/**
	* deptId       db_column: DEPT_ID 
	*/	
	@Length(max=50)
	private String deptId;
	/**
	* companyName       db_column: COMPANY_NAME 
	*/	
	@Length(max=100)
	private String companyName;
	/**
	* deptName       db_column: DEPT_NAME 
	*/	
	@Length(max=100)
	private String deptName;
	/**
	* orgName       db_column: ORG_NAME 
	*/	
	@Length(max=100)
	private String orgName;
	//columns END

		
}

