package com.application.zhangshi_app_android.bean;
|
|
import java.util.HashMap;
|
import java.util.Map;
|
|
/**
|
* @author Ljj
|
* @date 2023.04.17. 21:26
|
* @desc 荣誉收藏 请求Bean
|
*/
|
public class HonorCollectionRequestBean {
|
private String type;//类型
|
private String name;//名称
|
private String getTime;//获得时间
|
private String source;//来源
|
private String price;//价值
|
private String owner;//所有者
|
private String location;//存放地点
|
private String remark;//备注
|
private int pageNum = 1;//页码
|
private int pageSize = 20;//每页条数
|
|
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() {
|
return owner;
|
}
|
|
public void setOwner(String owner) {
|
this.owner = owner;
|
}
|
|
public String getLocation() {
|
return location;
|
}
|
|
public void setLocation(String location) {
|
this.location = location;
|
}
|
|
public String getRemark() {
|
return remark;
|
}
|
|
public void setRemark(String remark) {
|
this.remark = remark;
|
}
|
|
public int getPageNum() {
|
return pageNum;
|
}
|
|
public void setPageNum(int pageNum) {
|
this.pageNum = pageNum;
|
}
|
|
public int getPageSize() {
|
return pageSize;
|
}
|
|
public void setPageSize(int pageSize) {
|
this.pageSize = pageSize;
|
}
|
|
//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("pageNum", pageNum);
|
map.put("pageSize", pageSize);
|
return map;
|
}
|
}
|