📄 productsearchformbean.java
字号:
package com.bjsxt.shopping.product;
import java.util.Date;
//DTO Data Transfer Object
//通过显示层传递到了业务层
public class ProductSearchFormBean {
private int categoryId;
private String name;
private double lowNormalPrice;
private double highNormalPrice;
private double lowMemberPrice;
private double highMemberPrice;
private String startDate;
private String endDate;
public int getCategoryId() {
return categoryId;
}
public void setCategoryId(int categoryId) {
this.categoryId = categoryId;
}
public double getHighMemberPrice() {
return highMemberPrice;
}
public void setHighMemberPrice(double highMemberPrice) {
this.highMemberPrice = highMemberPrice;
}
public double getHighNormalPrice() {
return highNormalPrice;
}
public void setHighNormalPrice(double highNormalPrice) {
this.highNormalPrice = highNormalPrice;
}
public double getLowMemberPrice() {
return lowMemberPrice;
}
public void setLowMemberPrice(double lowMemberPrice) {
this.lowMemberPrice = lowMemberPrice;
}
public double getLowNormalPrice() {
return lowNormalPrice;
}
public void setLowNormalPrice(double lowNormalPrice) {
this.lowNormalPrice = lowNormalPrice;
}
public String getName() {
if(this.name == null) return "";
else return name;
}
public void setName(String name) {
this.name = name;
}
public String getEndDate() {
if(this.endDate == null) return "";
else return endDate;
}
public void setEndDate(String endDate) {
this.endDate = endDate;
}
public String getStartDate() {
if(this.startDate == null) return "";
else return startDate;
}
public void setStartDate(String startDate) {
this.startDate = startDate;
}
public boolean validate () {
return true;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -