package com.blueland.bo;

import java.util.*;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.blueland.model.Query;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_pub_org")
public class PubOrgEntity extends Query {
	private static final long serialVersionUID = 1L;
	//alias
	public static final String TABLE_ALIAS = "PubOrg";
	
		
	//可以直接使用: @Length(max=50,message="用户名长度不能大于50")显示错误消息
	//columns START
	/**
	* orgId       db_column: ORG_ID 
	*/	
	@Length(max=50)
	@TableId("org_id")
	private String orgId;
	/**
	* orgName       db_column: ORG_NAME 
	*/	
	@NotBlank @Length(max=200)
	private String orgName;
	/**
	* orgFullName       db_column: ORG_FULL_NAME 
	*/	
	@NotBlank @Length(max=65535)
	private String orgFullName;
	/**
	* orgFullPathName       db_column: ORG_FULL_PATH_NAME 
	*/	
	@Length(max=65535)
	private String orgFullPathName;
	/**
	* orgFullPathId       db_column: ORG_FULL_PATH_ID 
	*/	
	@Length(max=65535)
	private String orgFullPathId;
	/**
	* orgParentId       db_column: ORG_PARENT_ID 
	*/	
	@NotBlank @Length(max=50)
	private String orgParentId;
	/**
	* orgType       db_column: ORG_TYPE 
	*/	
	@NotBlank @Length(max=10)
	private String orgType;
	/**
	* orgLevel       db_column: ORG_LEVEL 
	*/	
	@NotNull 
	private Integer orgLevel;
	/**
	* orgAreaType       db_column: ORG_AREA_TYPE 
	*/	
	@NotBlank @Length(max=10)
	private String orgAreaType;
	/**
	* orgSort       db_column: ORG_SORT 
	*/	
	
	private Integer orgSort;
	/**
	* orgWorkPhone       db_column: ORG_WORK_PHONE 
	*/	
	@Length(max=50)
	private String orgWorkPhone;
	/**
	* orgWorkAddress       db_column: ORG_WORK_ADDRESS 
	*/	
	@Length(max=65535)
	private String orgWorkAddress;
	/**
	* orgPrincipal       db_column: ORG_PRINCIPAL 
	*/	
	@Length(max=100)
	private String orgPrincipal;
	/**
	* orgStatus       db_column: ORG_STATUS 
	*/	
	@NotBlank @Length(max=10)
	private String orgStatus;
	/**
	* orgCreateTime       db_column: ORG_CREATE_TIME 
	*/	
	
	private Date orgCreateTime;
	/**
	* remark       db_column: REMARK 
	*/	
	@Length(max=65535)
	private String remark;
	/**
	* fundCode       db_column: FUND_CODE 
	*/	
	@Length(max=20)
	private String fundCode;
	/**
	* fundName       db_column: FUND_NAME 
	*/	
	@Length(max=100)
	private String fundName;
	/**
	* companyId       db_column: COMPANY_ID 
	*/	
	@Length(max=50)
	private String companyId;
	/**
	* deptId       db_column: DEPT_ID 
	*/	
	@Length(max=50)
	private String deptId;
	/**
	* deptName       db_column: DEPT_NAME 
	*/	
	@Length(max=100)
	private String deptName;
	/**
	* companyName       db_column: COMPANY_NAME 
	*/	
	@Length(max=100)
	private String companyName;
	/**
	* orgBranchLeader       db_column: ORG_BRANCH_LEADER 
	*/	
	@Length(max=100)
	private String orgBranchLeader;
	//columns END

	private String sortColumns;
}

