zoukankan      html  css  js  c++  java
  • 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();
    	}
    	
    
    }
    

  • 相关阅读:
    Leetcode 611.有效三角形的个数
    Leetcode 606.根据二叉树创建字符串
    Leetcode 605.种花问题
    潘潘_策略投资:期货存在跨期套利和跨品种套利的机会
    雷公资本:我的交易系统02 --- 可预知的趋势
    西子凌波47:回答问题 2016-10-28
    西子凌波43:说几句 2016-03-07
    西子凌波39:当下状态2 (2015-11-07 22:33:22)
    西子凌波36:放假了。说一些题外话。 2015-09-04
    西子凌波35:简单的走势,还有不明白的吗? 2015-08-21
  • 原文地址:https://www.cnblogs.com/a1111/p/12816321.html
Copyright © 2011-2022 走看看