Mybatis+mysql动态分页查询数据案例——条件类(HouseCondition)
2017-03-18 22:48
866 查看
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动态分页查询数据案例——Mybatis的配置文件(mybatis-config.xml)
- Mybatis+mysql动态分页查询数据案例——测试类HouseDaoMybatisImplTest)
- Mybatis+mysql动态分页查询数据案例——配置映射文件(HouseDaoMapper.xml)
- Mybatis+mysql动态分页查询数据案例——工具类(MybatisUtil.java)
- Mybatis+mysql动态分页查询数据案例——分页工具类(Page.java)
- Mybatis+mysql动态分页查询数据案例——房屋信息的接口(IHouseDao)
- Mybatis+mySQL动态分页查询数据经典案例
- Mybatis+mysql动态分页查询数据案例——房屋信息的实现类(HouseDaoMybatisImpl)
- Mybatis+MySQL动态分页查询数据经典案例(含代码以及测试)
- mybatis分页条件查询动态sql
- mybatis分页多条件查询指定时间段数据的sql语句
- SpringMVC+Mybatis实现的Mysql分页数据查询的示例
- 基于mybatis的动态条件分页查询
- 利用Spring MVC+Mybatis实现Mysql分页数据查询的过程详解
- MySQL:MySQL处理千万级数据查询、分页
- MySQL 设置数据按条件查询下的序号
- oracle心得1--oracle简介@基本sql语句@条件查询@排序数据理论与案例
- ibatis动态多条件查询及模糊查询(oracle,mysql,sql)
- MySQL 设置数据按条件查询下的序号
- MySQL处理千万级数据查询、分页