yangys
2024-03-28 23a939ed820ee32f9a4309f9c81b7bab5a566f30
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
package com.qianwen.smartman.modules.develop.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 = "Code", description = "Code对象")
@TableName("blade_code")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/develop/entity/Code.class */
public class Code implements Serializable {
    private static final long serialVersionUID = 1;
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;
    @ApiModelProperty("标题")
    private String title;
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("数据源主键")
    private Long datasourceId;
    @ApiModelProperty("服务名称")
    private String serviceName;
    @ApiModelProperty("模块名称")
    private String codeName;
    @ApiModelProperty("表名")
    private String tableName;
    @ApiModelProperty("表前缀")
    private String tablePrefix;
    @ApiModelProperty("主键名")
    private String pkName;
    @ApiModelProperty("基础业务模式")
    private Integer baseMode;
    @ApiModelProperty("包装器模式")
    private Integer wrapMode;
    @ApiModelProperty("后端包名")
    private String packageName;
    @ApiModelProperty("后端路径")
    private String apiPath;
    @ApiModelProperty("前端路径")
    private String webPath;
    @TableLogic
    @ApiModelProperty("是否已删除")
    private Integer isDeleted;
 
    public void setId(final Long id) {
        this.id = id;
    }
 
    public void setTitle(final String title) {
        this.title = title;
    }
 
    public void setDatasourceId(final Long datasourceId) {
        this.datasourceId = datasourceId;
    }
 
    public void setServiceName(final String serviceName) {
        this.serviceName = serviceName;
    }
 
    public void setCodeName(final String codeName) {
        this.codeName = codeName;
    }
 
    public void setTableName(final String tableName) {
        this.tableName = tableName;
    }
 
    public void setTablePrefix(final String tablePrefix) {
        this.tablePrefix = tablePrefix;
    }
 
    public void setPkName(final String pkName) {
        this.pkName = pkName;
    }
 
    public void setBaseMode(final Integer baseMode) {
        this.baseMode = baseMode;
    }
 
    public void setWrapMode(final Integer wrapMode) {
        this.wrapMode = wrapMode;
    }
 
    public void setPackageName(final String packageName) {
        this.packageName = packageName;
    }
 
    public void setApiPath(final String apiPath) {
        this.apiPath = apiPath;
    }
 
    public void setWebPath(final String webPath) {
        this.webPath = webPath;
    }
 
    public void setIsDeleted(final Integer isDeleted) {
        this.isDeleted = isDeleted;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof Code) {
            Code other = (Code) 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$datasourceId = getDatasourceId();
                Object other$datasourceId = other.getDatasourceId();
                if (this$datasourceId == null) {
                    if (other$datasourceId != null) {
                        return false;
                    }
                } else if (!this$datasourceId.equals(other$datasourceId)) {
                    return false;
                }
                Object this$baseMode = getBaseMode();
                Object other$baseMode = other.getBaseMode();
                if (this$baseMode == null) {
                    if (other$baseMode != null) {
                        return false;
                    }
                } else if (!this$baseMode.equals(other$baseMode)) {
                    return false;
                }
                Object this$wrapMode = getWrapMode();
                Object other$wrapMode = other.getWrapMode();
                if (this$wrapMode == null) {
                    if (other$wrapMode != null) {
                        return false;
                    }
                } else if (!this$wrapMode.equals(other$wrapMode)) {
                    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$title = getTitle();
                Object other$title = other.getTitle();
                if (this$title == null) {
                    if (other$title != null) {
                        return false;
                    }
                } else if (!this$title.equals(other$title)) {
                    return false;
                }
                Object this$serviceName = getServiceName();
                Object other$serviceName = other.getServiceName();
                if (this$serviceName == null) {
                    if (other$serviceName != null) {
                        return false;
                    }
                } else if (!this$serviceName.equals(other$serviceName)) {
                    return false;
                }
                Object this$codeName = getCodeName();
                Object other$codeName = other.getCodeName();
                if (this$codeName == null) {
                    if (other$codeName != null) {
                        return false;
                    }
                } else if (!this$codeName.equals(other$codeName)) {
                    return false;
                }
                Object this$tableName = getTableName();
                Object other$tableName = other.getTableName();
                if (this$tableName == null) {
                    if (other$tableName != null) {
                        return false;
                    }
                } else if (!this$tableName.equals(other$tableName)) {
                    return false;
                }
                Object this$tablePrefix = getTablePrefix();
                Object other$tablePrefix = other.getTablePrefix();
                if (this$tablePrefix == null) {
                    if (other$tablePrefix != null) {
                        return false;
                    }
                } else if (!this$tablePrefix.equals(other$tablePrefix)) {
                    return false;
                }
                Object this$pkName = getPkName();
                Object other$pkName = other.getPkName();
                if (this$pkName == null) {
                    if (other$pkName != null) {
                        return false;
                    }
                } else if (!this$pkName.equals(other$pkName)) {
                    return false;
                }
                Object this$packageName = getPackageName();
                Object other$packageName = other.getPackageName();
                if (this$packageName == null) {
                    if (other$packageName != null) {
                        return false;
                    }
                } else if (!this$packageName.equals(other$packageName)) {
                    return false;
                }
                Object this$apiPath = getApiPath();
                Object other$apiPath = other.getApiPath();
                if (this$apiPath == null) {
                    if (other$apiPath != null) {
                        return false;
                    }
                } else if (!this$apiPath.equals(other$apiPath)) {
                    return false;
                }
                Object this$webPath = getWebPath();
                Object other$webPath = other.getWebPath();
                return this$webPath == null ? other$webPath == null : this$webPath.equals(other$webPath);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof Code;
    }
 
    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $datasourceId = getDatasourceId();
        int result2 = (result * 59) + ($datasourceId == null ? 43 : $datasourceId.hashCode());
        Object $baseMode = getBaseMode();
        int result3 = (result2 * 59) + ($baseMode == null ? 43 : $baseMode.hashCode());
        Object $wrapMode = getWrapMode();
        int result4 = (result3 * 59) + ($wrapMode == null ? 43 : $wrapMode.hashCode());
        Object $isDeleted = getIsDeleted();
        int result5 = (result4 * 59) + ($isDeleted == null ? 43 : $isDeleted.hashCode());
        Object $title = getTitle();
        int result6 = (result5 * 59) + ($title == null ? 43 : $title.hashCode());
        Object $serviceName = getServiceName();
        int result7 = (result6 * 59) + ($serviceName == null ? 43 : $serviceName.hashCode());
        Object $codeName = getCodeName();
        int result8 = (result7 * 59) + ($codeName == null ? 43 : $codeName.hashCode());
        Object $tableName = getTableName();
        int result9 = (result8 * 59) + ($tableName == null ? 43 : $tableName.hashCode());
        Object $tablePrefix = getTablePrefix();
        int result10 = (result9 * 59) + ($tablePrefix == null ? 43 : $tablePrefix.hashCode());
        Object $pkName = getPkName();
        int result11 = (result10 * 59) + ($pkName == null ? 43 : $pkName.hashCode());
        Object $packageName = getPackageName();
        int result12 = (result11 * 59) + ($packageName == null ? 43 : $packageName.hashCode());
        Object $apiPath = getApiPath();
        int result13 = (result12 * 59) + ($apiPath == null ? 43 : $apiPath.hashCode());
        Object $webPath = getWebPath();
        return (result13 * 59) + ($webPath == null ? 43 : $webPath.hashCode());
    }
 
    public String toString() {
        return "Code(id=" + getId() + ", title=" + getTitle() + ", datasourceId=" + getDatasourceId() + ", serviceName=" + getServiceName() + ", codeName=" + getCodeName() + ", tableName=" + getTableName() + ", tablePrefix=" + getTablePrefix() + ", pkName=" + getPkName() + ", baseMode=" + getBaseMode() + ", wrapMode=" + getWrapMode() + ", packageName=" + getPackageName() + ", apiPath=" + getApiPath() + ", webPath=" + getWebPath() + ", isDeleted=" + getIsDeleted() + ")";
    }
 
    public Long getId() {
        return this.id;
    }
 
    public String getTitle() {
        return this.title;
    }
 
    public Long getDatasourceId() {
        return this.datasourceId;
    }
 
    public String getServiceName() {
        return this.serviceName;
    }
 
    public String getCodeName() {
        return this.codeName;
    }
 
    public String getTableName() {
        return this.tableName;
    }
 
    public String getTablePrefix() {
        return this.tablePrefix;
    }
 
    public String getPkName() {
        return this.pkName;
    }
 
    public Integer getBaseMode() {
        return this.baseMode;
    }
 
    public Integer getWrapMode() {
        return this.wrapMode;
    }
 
    public String getPackageName() {
        return this.packageName;
    }
 
    public String getApiPath() {
        return this.apiPath;
    }
 
    public String getWebPath() {
        return this.webPath;
    }
 
    public Integer getIsDeleted() {
        return this.isDeleted;
    }
}