jyy
2021-09-03 3868b706ee3ee115a400d77abc3b69b83ea448c7
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
package com.matrix.system.shopXcx.bean;
 
import com.matrix.core.pojo.EntityDTO;
import com.matrix.core.anotations.Extend;
import com.matrix.system.constance.Dictionary;
 
/**
 * @description 小程序页面
 * @author jyy
 * @date 2020-04-03 14:56
 */
public class ShopPage  extends EntityDTO{
    @Extend
    private static final long serialVersionUID = 1L;
    /**
     * 1,广告页
     */
    public  static final int PAGE_TYPE_AD=1;
    /**
     * 2导航页
     */
    public  static final int PAGE_TYPE_TAB=2;
    /**
     * 3,功能页
     */
    public  static final int PAGE_TYPE_FUNCTION=3;
 
    /**
     * 主键
     */
    private Long  id;
            
    
    /**
     * 页面名称
     */
    private String  name;
            
    
    /**
     * 页面路径
     */
    private String  path;
            
    
    /**
     * 默认参数
     */
    private String  param;
            
    
    /**
     * 页面code
     */
    private String  code;
            
    
    /**
     * 页面类型 1,广告页,2导航页,3,功能页
     */
    private Integer  pageType;
 
    
    /**
     * 排序
     */
    private Integer  sequence;
            
    
    /**
     * 公司id
     */
    private Long  companyId;
            
    
    /**
     * 备注
     */
    private String  remark;
            
    
    /**
     * 扩展
     */
    private String  info1;
            
    
    /**
     * 扩展
     */
    private String  info2;
            
    
    /**
     * 扩展
     */
    private String  info3;
            
    
    /**
     * 扩展
     */
    private String  info4;
            
    
 
    public Long getId() {
        return id;
    }
       
       public ShopPage setId(Long id) {
        this.id=id;
        return this;
    }
       
 
    public String getName() {
        return name;
    }
       
       public ShopPage setName(String name) {
        this.name=name;
        return this;
    }
       
 
    public String getPath() {
        return path;
    }
       
       public ShopPage setPath(String path) {
        this.path=path;
        return this;
    }
       
 
    public String getParam() {
        return param;
    }
       
       public ShopPage setParam(String param) {
        this.param=param;
        return this;
    }
       
 
    public String getCode() {
        return code;
    }
       
       public ShopPage setCode(String code) {
        this.code=code;
        return this;
    }
       
 
    public Integer getPageType() {
        return pageType;
    }
       
       public ShopPage setPageType(Integer pageType) {
        this.pageType=pageType;
        //设置dic
        if (PAGE_TYPE_AD==this.pageType) {
            getDicMap().put("pageType", "广告页");
        } else if (PAGE_TYPE_TAB==this.pageType) {
            getDicMap().put("pageType", "导航页");
        } else if (PAGE_TYPE_FUNCTION==this.pageType) {
            getDicMap().put("pageType", "功能页");
        }
        return this;
    }
       
 
    public Integer getSequence() {
        return sequence;
    }
       
       public ShopPage setSequence(Integer sequence) {
        this.sequence=sequence;
        return this;
    }
       
 
    public Long getCompanyId() {
        return companyId;
    }
       
       public ShopPage setCompanyId(Long companyId) {
        this.companyId=companyId;
        return this;
    }
       
 
    public String getRemark() {
        return remark;
    }
       
       public ShopPage setRemark(String remark) {
        this.remark=remark;
        return this;
    }
       
 
    public String getInfo1() {
        return info1;
    }
       
       public ShopPage setInfo1(String info1) {
        this.info1=info1;
        return this;
    }
       
 
    public String getInfo2() {
        return info2;
    }
       
       public ShopPage setInfo2(String info2) {
        this.info2=info2;
        return this;
    }
       
 
    public String getInfo3() {
        return info3;
    }
       
       public ShopPage setInfo3(String info3) {
        this.info3=info3;
        return this;
    }
       
 
    public String getInfo4() {
        return info4;
    }
       
       public ShopPage setInfo4(String info4) {
        this.info4=info4;
        return this;
    }
       
 
 
  
}