`
mxx_1111
  • 浏览: 59051 次
  • 性别: Icon_minigender_1
  • 来自: 济南
社区版块
存档分类
最新评论

Mybatis+mysql动态分页查询数据案例——条件类(HouseCondition)

 
阅读更多
package cn.bdqn.mhouse.entity;
/**
 * 
*    
* 项目名称:house   
* 类名称:HouseCondition   
* 类描述:   动态查询房屋信息的条件类
* 创建人:Mu Xiongxiong  
* 创建时间:2017-3-10 下午9:39:21   
* 修改人:Mu Xiongxiong   
* 修改时间:2017-3-10 下午9:39:21   
* 修改备注:   
* @version    
*
 */
public class HouseCondition {
	/**
	* @Fields priceBegin :该字段的意思:最低开始价格
	*/
	private Integer priceBegin;      //
	/**
	* @Fields priceEnd :该字段的意思:最高价格 
	*/
	private Integer priceEnd;        //
	/**
	* @Fields street :该字段的意思:房屋街道
	*/
	private Street street;           //
	/**
	* @Fields types :该字段的意思:房屋类型
	*/
	private Types types;             //
	/**
	* @Fields floorageBegin :该字段的意思:房屋开始面积
	*/
	private Integer floorageBegin;   //
	/**
	* @Fields floorageEnd :该字段的意思:房屋结束面积
	*/
	private Integer floorageEnd;     //
	
	public Integer getPriceBegin() {
		return priceBegin;
	}
	public void setPriceBegin(Integer priceBegin) {
		this.priceBegin = priceBegin;
	}
	public Integer getPriceEnd() {
		return priceEnd;
	}
	public void setPriceEnd(Integer priceEnd) {
		this.priceEnd = priceEnd;
	}
	public Street getStreet() {
		return street;
	}
	public void setStreet(Street street) {
		this.street = street;
	}
	public Types getTypes() {
		return types;
	}
	public void setTypes(Types types) {
		this.types = types;
	}
	
	/**
	 * 
	     * 构造函数 
	     * @discription 带参数的构造函数
	     * @author Mu Xiongxiong     
	     * @created 2017-3-10 下午9:40:32      
	     * @param priceBegin
	     * @param priceEnd
	     * @param street
	     * @param types
	     * @param floorageBegin
	     * @param floorageEnd
	 */
	public HouseCondition(Integer priceBegin, Integer priceEnd, Street street,
			Types types, Integer floorageBegin, Integer floorageEnd) {
		super();
		this.priceBegin = priceBegin;
		this.priceEnd = priceEnd;
		this.street = street;
		this.types = types;
		this.floorageBegin = floorageBegin;
		this.floorageEnd = floorageEnd;
	}
	public Integer getFloorageBegin() {
		return floorageBegin;
	}
	public void setFloorageBegin(Integer floorageBegin) {
		this.floorageBegin = floorageBegin;
	}
	public Integer getFloorageEnd() {
		return floorageEnd;
	}
	public void setFloorageEnd(Integer floorageEnd) {
		this.floorageEnd = floorageEnd;
	}
	/**
	 * 
	     * 构造函数 
	     * @discription 无参数的构造函数
	     * @author Mu Xiongxiong     
	     * @created 2017-3-10 下午9:40:46
	 */
	public HouseCondition() {
		super();
	}
	

}

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics