Mybatis+mysql动态分页查询数据案例——条件类(HouseCondition)
生活随笔
收集整理的這篇文章主要介紹了
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();}}
總結
以上是生活随笔為你收集整理的Mybatis+mysql动态分页查询数据案例——条件类(HouseCondition)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Source Defense联合创始人解
- 下一篇: dns应该怎么设置?