| | |
| | | * @desc 荣誉收藏 请求Bean |
| | | */ |
| | | public class HonorCollectionRequestBean { |
| | | private String type;//类型 |
| | | private String name;//名称 |
| | | private String getTime;//获得时间 |
| | | private String source;//来源 |
| | | private String price;//价值 |
| | | private String type;//类别 |
| | | private String owner;//所有者 |
| | | private String location;//存放地点 |
| | | private String remark;//备注 |
| | | |
| | | private int pageNum = 1;//页码 |
| | | private int pageSize = 20;//每页条数 |
| | | |
| | | private String happenStartTime;//搜索范围开始时间 |
| | | private String happenEndTime;//搜索范围结束时间 |
| | | public String getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(String type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getGetTime() { |
| | | return getTime; |
| | | } |
| | | |
| | | public void setGetTime(String getTime) { |
| | | this.getTime = getTime; |
| | | } |
| | | |
| | | public String getSource() { |
| | | return source; |
| | | } |
| | | |
| | | public void setSource(String source) { |
| | | this.source = source; |
| | | } |
| | | |
| | | public String getPrice() { |
| | | return price; |
| | | } |
| | | |
| | | public void setPrice(String price) { |
| | | this.price = price; |
| | | } |
| | | |
| | | public String getOwner() { |
| | |
| | | this.location = location; |
| | | } |
| | | |
| | | public String getRemark() { |
| | | return remark; |
| | | } |
| | | |
| | | public void setRemark(String remark) { |
| | | this.remark = remark; |
| | | } |
| | | |
| | | public int getPageNum() { |
| | | return pageNum; |
| | | } |
| | |
| | | this.pageSize = pageSize; |
| | | } |
| | | |
| | | public String getHappenStartTime() { |
| | | return happenStartTime; |
| | | } |
| | | |
| | | public void setHappenStartTime(String happenStartTime) { |
| | | this.happenStartTime = happenStartTime; |
| | | } |
| | | |
| | | public String getHappenEndTime() { |
| | | return happenEndTime; |
| | | } |
| | | |
| | | public void setHappenEndTime(String happenEndTime) { |
| | | this.happenEndTime = happenEndTime; |
| | | } |
| | | |
| | | //map |
| | | public Map<String, Object> toMap() { |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("type", type == null ? "" : type); |
| | | map.put("name", name == null ? "" : name); |
| | | map.put("getTime", getTime == null ? "" : getTime); |
| | | map.put("source", source == null ? "" : source); |
| | | map.put("price", price == null ? "" : price); |
| | | map.put("owner", owner == null ? "" : owner); |
| | | map.put("location", location == null ? "" : location); |
| | | map.put("remark", remark == null ? "" : remark); |
| | | map.put("happenStartTime", happenStartTime == null ? "" : happenStartTime); |
| | | map.put("happenEndTime", happenEndTime == null ? "" : happenEndTime); |
| | | map.put("pageNum", pageNum); |
| | | map.put("pageSize", pageSize); |
| | | return map; |