yangys
2024-04-04 ed4a5236bab800094be4a8378f5098eebe3de6ac
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
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
package com.qianwen.smartman.modules.system.entity;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
 
@ApiModel(value = "Menu", description = "Menu对象")
@TableName("blade_menu")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/entity/Menu.class */
public class Menu implements Serializable {
    private static final long serialVersionUID = 1;
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("菜单父主键")
    private Long parentId;
    @ApiModelProperty("菜单编号")
    private String code;
    @ApiModelProperty("菜单名称")
    private String name;
    @ApiModelProperty("菜单别名")
    private String alias;
    @ApiModelProperty("请求地址")
    private String path;
    @ApiModelProperty("菜单资源")
    private String source;
    @ApiModelProperty("排序")
    private Integer sort;
    @ApiModelProperty("菜单类型")
    private Integer category;
    @ApiModelProperty("操作按钮类型")
    private Integer action;
    @ApiModelProperty("是否打开新页面")
    private Integer isOpen;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("路由缓冲")
    private Integer keepAlive;
    @ApiModelProperty("所属应用,CPS:FMS:VISION")
    private String belongApplication;
    @TableLogic
    @ApiModelProperty("是否已删除")
    private Integer isDeleted;
 
    public void setId(final Long id) {
        this.id = id;
    }
 
    public void setParentId(final Long parentId) {
        this.parentId = parentId;
    }
 
    public void setCode(final String code) {
        this.code = code;
    }
 
    public void setName(final String name) {
        this.name = name;
    }
 
    public void setAlias(final String alias) {
        this.alias = alias;
    }
 
    public void setPath(final String path) {
        this.path = path;
    }
 
    public void setSource(final String source) {
        this.source = source;
    }
 
    public void setSort(final Integer sort) {
        this.sort = sort;
    }
 
    public void setCategory(final Integer category) {
        this.category = category;
    }
 
    public void setAction(final Integer action) {
        this.action = action;
    }
 
    public void setIsOpen(final Integer isOpen) {
        this.isOpen = isOpen;
    }
 
    public void setRemark(final String remark) {
        this.remark = remark;
    }
 
    public void setKeepAlive(final Integer keepAlive) {
        this.keepAlive = keepAlive;
    }
 
    public void setBelongApplication(final String belongApplication) {
        this.belongApplication = belongApplication;
    }
 
    public void setIsDeleted(final Integer isDeleted) {
        this.isDeleted = isDeleted;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof Menu) {
            Menu other = (Menu) o;
            if (other.canEqual(this)) {
                Object this$id = getId();
                Object other$id = other.getId();
                if (this$id == null) {
                    if (other$id != null) {
                        return false;
                    }
                } else if (!this$id.equals(other$id)) {
                    return false;
                }
                Object this$parentId = getParentId();
                Object other$parentId = other.getParentId();
                if (this$parentId == null) {
                    if (other$parentId != null) {
                        return false;
                    }
                } else if (!this$parentId.equals(other$parentId)) {
                    return false;
                }
                Object this$sort = getSort();
                Object other$sort = other.getSort();
                if (this$sort == null) {
                    if (other$sort != null) {
                        return false;
                    }
                } else if (!this$sort.equals(other$sort)) {
                    return false;
                }
                Object this$category = getCategory();
                Object other$category = other.getCategory();
                if (this$category == null) {
                    if (other$category != null) {
                        return false;
                    }
                } else if (!this$category.equals(other$category)) {
                    return false;
                }
                Object this$action = getAction();
                Object other$action = other.getAction();
                if (this$action == null) {
                    if (other$action != null) {
                        return false;
                    }
                } else if (!this$action.equals(other$action)) {
                    return false;
                }
                Object this$isOpen = getIsOpen();
                Object other$isOpen = other.getIsOpen();
                if (this$isOpen == null) {
                    if (other$isOpen != null) {
                        return false;
                    }
                } else if (!this$isOpen.equals(other$isOpen)) {
                    return false;
                }
                Object this$keepAlive = getKeepAlive();
                Object other$keepAlive = other.getKeepAlive();
                if (this$keepAlive == null) {
                    if (other$keepAlive != null) {
                        return false;
                    }
                } else if (!this$keepAlive.equals(other$keepAlive)) {
                    return false;
                }
                Object this$isDeleted = getIsDeleted();
                Object other$isDeleted = other.getIsDeleted();
                if (this$isDeleted == null) {
                    if (other$isDeleted != null) {
                        return false;
                    }
                } else if (!this$isDeleted.equals(other$isDeleted)) {
                    return false;
                }
                Object this$code = getCode();
                Object other$code = other.getCode();
                if (this$code == null) {
                    if (other$code != null) {
                        return false;
                    }
                } else if (!this$code.equals(other$code)) {
                    return false;
                }
                Object this$name = getName();
                Object other$name = other.getName();
                if (this$name == null) {
                    if (other$name != null) {
                        return false;
                    }
                } else if (!this$name.equals(other$name)) {
                    return false;
                }
                Object this$alias = getAlias();
                Object other$alias = other.getAlias();
                if (this$alias == null) {
                    if (other$alias != null) {
                        return false;
                    }
                } else if (!this$alias.equals(other$alias)) {
                    return false;
                }
                Object this$path = getPath();
                Object other$path = other.getPath();
                if (this$path == null) {
                    if (other$path != null) {
                        return false;
                    }
                } else if (!this$path.equals(other$path)) {
                    return false;
                }
                Object this$source = getSource();
                Object other$source = other.getSource();
                if (this$source == null) {
                    if (other$source != null) {
                        return false;
                    }
                } else if (!this$source.equals(other$source)) {
                    return false;
                }
                Object this$remark = getRemark();
                Object other$remark = other.getRemark();
                if (this$remark == null) {
                    if (other$remark != null) {
                        return false;
                    }
                } else if (!this$remark.equals(other$remark)) {
                    return false;
                }
                Object this$belongApplication = getBelongApplication();
                Object other$belongApplication = other.getBelongApplication();
                return this$belongApplication == null ? other$belongApplication == null : this$belongApplication.equals(other$belongApplication);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof Menu;
    }
 
    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $parentId = getParentId();
        int result2 = (result * 59) + ($parentId == null ? 43 : $parentId.hashCode());
        Object $sort = getSort();
        int result3 = (result2 * 59) + ($sort == null ? 43 : $sort.hashCode());
        Object $category = getCategory();
        int result4 = (result3 * 59) + ($category == null ? 43 : $category.hashCode());
        Object $action = getAction();
        int result5 = (result4 * 59) + ($action == null ? 43 : $action.hashCode());
        Object $isOpen = getIsOpen();
        int result6 = (result5 * 59) + ($isOpen == null ? 43 : $isOpen.hashCode());
        Object $keepAlive = getKeepAlive();
        int result7 = (result6 * 59) + ($keepAlive == null ? 43 : $keepAlive.hashCode());
        Object $isDeleted = getIsDeleted();
        int result8 = (result7 * 59) + ($isDeleted == null ? 43 : $isDeleted.hashCode());
        Object $code = getCode();
        int result9 = (result8 * 59) + ($code == null ? 43 : $code.hashCode());
        Object $name = getName();
        int result10 = (result9 * 59) + ($name == null ? 43 : $name.hashCode());
        Object $alias = getAlias();
        int result11 = (result10 * 59) + ($alias == null ? 43 : $alias.hashCode());
        Object $path = getPath();
        int result12 = (result11 * 59) + ($path == null ? 43 : $path.hashCode());
        Object $source = getSource();
        int result13 = (result12 * 59) + ($source == null ? 43 : $source.hashCode());
        Object $remark = getRemark();
        int result14 = (result13 * 59) + ($remark == null ? 43 : $remark.hashCode());
        Object $belongApplication = getBelongApplication();
        return (result14 * 59) + ($belongApplication == null ? 43 : $belongApplication.hashCode());
    }
 
    public String toString() {
        return "Menu(id=" + getId() + ", parentId=" + getParentId() + ", code=" + getCode() + ", name=" + getName() + ", alias=" + getAlias() + ", path=" + getPath() + ", source=" + getSource() + ", sort=" + getSort() + ", category=" + getCategory() + ", action=" + getAction() + ", isOpen=" + getIsOpen() + ", remark=" + getRemark() + ", keepAlive=" + getKeepAlive() + ", belongApplication=" + getBelongApplication() + ", isDeleted=" + getIsDeleted() + ")";
    }
 
    public Long getId() {
        return this.id;
    }
 
    public Long getParentId() {
        return this.parentId;
    }
 
    public String getCode() {
        return this.code;
    }
 
    public String getName() {
        return this.name;
    }
 
    public String getAlias() {
        return this.alias;
    }
 
    public String getPath() {
        return this.path;
    }
 
    public String getSource() {
        return this.source;
    }
 
    public Integer getSort() {
        return this.sort;
    }
 
    public Integer getCategory() {
        return this.category;
    }
 
    public Integer getAction() {
        return this.action;
    }
 
    public Integer getIsOpen() {
        return this.isOpen;
    }
 
    public String getRemark() {
        return this.remark;
    }
 
    public Integer getKeepAlive() {
        return this.keepAlive;
    }
 
    public String getBelongApplication() {
        return this.belongApplication;
    }
 
    public Integer getIsDeleted() {
        return this.isDeleted;
    }
}