Linjiajia
2023-04-24 fcdddf8b9b34f9930bec454b5fffe41c0e33ba3c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
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;
    }
}