yangys
2024-04-01 86cdd920b68274185233383f69ddb974052b6b6f
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
package com.qianwen.smartman.modules.system.entity;
 
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.qianwen.core.mp.base.BaseEntity;
 
@ApiModel(value = "BasCodeRule", description = "编码规则")
@TableName("blade_bas_coderule")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/entity/BasCodeRule.class */
public class BasCodeRule extends BaseEntity {
    private static final long serialVersionUID = 1;
    @ApiModelProperty("规则名称")
    private String name;
    @ApiModelProperty("业务对象")
    private String billFormId;
    @ApiModelProperty("系统预设,是否启用")
    private Boolean systemDefault;
    @ApiModelProperty("自动补号")
    private Boolean autoBillno;
    @ApiModelProperty("手动补号")
    private Boolean repairBillno;
    @ApiModelProperty("是否是固定的流水号位数")
    private Boolean constLength;
    @ApiModelProperty("编码规则描述")
    private String remark;
    @ApiModelProperty("绑定的规则分类字段的字典值")
    private String ruleFieldDictKey;
    @ApiModelProperty("默认一")
    private String preview;
 
    public void setName(final String name) {
        this.name = name;
    }
 
    public void setBillFormId(final String billFormId) {
        this.billFormId = billFormId;
    }
 
    public void setSystemDefault(final Boolean systemDefault) {
        this.systemDefault = systemDefault;
    }
 
    public void setAutoBillno(final Boolean autoBillno) {
        this.autoBillno = autoBillno;
    }
 
    public void setRepairBillno(final Boolean repairBillno) {
        this.repairBillno = repairBillno;
    }
 
    public void setConstLength(final Boolean constLength) {
        this.constLength = constLength;
    }
 
    public void setRemark(final String remark) {
        this.remark = remark;
    }
 
    public void setRuleFieldDictKey(final String ruleFieldDictKey) {
        this.ruleFieldDictKey = ruleFieldDictKey;
    }
 
    public void setPreview(final String preview) {
        this.preview = preview;
    }
 
    public String toString() {
        return "BasCodeRule(name=" + getName() + ", billFormId=" + getBillFormId() + ", systemDefault=" + getSystemDefault() + ", autoBillno=" + getAutoBillno() + ", repairBillno=" + getRepairBillno() + ", constLength=" + getConstLength() + ", remark=" + getRemark() + ", ruleFieldDictKey=" + getRuleFieldDictKey() + ", preview=" + getPreview() + ")";
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof BasCodeRule) {
            BasCodeRule other = (BasCodeRule) o;
            if (other.canEqual(this) && super.equals(o)) {
                Object this$systemDefault = getSystemDefault();
                Object other$systemDefault = other.getSystemDefault();
                if (this$systemDefault == null) {
                    if (other$systemDefault != null) {
                        return false;
                    }
                } else if (!this$systemDefault.equals(other$systemDefault)) {
                    return false;
                }
                Object this$autoBillno = getAutoBillno();
                Object other$autoBillno = other.getAutoBillno();
                if (this$autoBillno == null) {
                    if (other$autoBillno != null) {
                        return false;
                    }
                } else if (!this$autoBillno.equals(other$autoBillno)) {
                    return false;
                }
                Object this$repairBillno = getRepairBillno();
                Object other$repairBillno = other.getRepairBillno();
                if (this$repairBillno == null) {
                    if (other$repairBillno != null) {
                        return false;
                    }
                } else if (!this$repairBillno.equals(other$repairBillno)) {
                    return false;
                }
                Object this$constLength = getConstLength();
                Object other$constLength = other.getConstLength();
                if (this$constLength == null) {
                    if (other$constLength != null) {
                        return false;
                    }
                } else if (!this$constLength.equals(other$constLength)) {
                    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$billFormId = getBillFormId();
                Object other$billFormId = other.getBillFormId();
                if (this$billFormId == null) {
                    if (other$billFormId != null) {
                        return false;
                    }
                } else if (!this$billFormId.equals(other$billFormId)) {
                    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$ruleFieldDictKey = getRuleFieldDictKey();
                Object other$ruleFieldDictKey = other.getRuleFieldDictKey();
                if (this$ruleFieldDictKey == null) {
                    if (other$ruleFieldDictKey != null) {
                        return false;
                    }
                } else if (!this$ruleFieldDictKey.equals(other$ruleFieldDictKey)) {
                    return false;
                }
                Object this$preview = getPreview();
                Object other$preview = other.getPreview();
                return this$preview == null ? other$preview == null : this$preview.equals(other$preview);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof BasCodeRule;
    }
 
    public int hashCode() {
        int result = super.hashCode();
        Object $systemDefault = getSystemDefault();
        int result2 = (result * 59) + ($systemDefault == null ? 43 : $systemDefault.hashCode());
        Object $autoBillno = getAutoBillno();
        int result3 = (result2 * 59) + ($autoBillno == null ? 43 : $autoBillno.hashCode());
        Object $repairBillno = getRepairBillno();
        int result4 = (result3 * 59) + ($repairBillno == null ? 43 : $repairBillno.hashCode());
        Object $constLength = getConstLength();
        int result5 = (result4 * 59) + ($constLength == null ? 43 : $constLength.hashCode());
        Object $name = getName();
        int result6 = (result5 * 59) + ($name == null ? 43 : $name.hashCode());
        Object $billFormId = getBillFormId();
        int result7 = (result6 * 59) + ($billFormId == null ? 43 : $billFormId.hashCode());
        Object $remark = getRemark();
        int result8 = (result7 * 59) + ($remark == null ? 43 : $remark.hashCode());
        Object $ruleFieldDictKey = getRuleFieldDictKey();
        int result9 = (result8 * 59) + ($ruleFieldDictKey == null ? 43 : $ruleFieldDictKey.hashCode());
        Object $preview = getPreview();
        return (result9 * 59) + ($preview == null ? 43 : $preview.hashCode());
    }
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/entity/BasCodeRule$BasCodeRuleBuilder.class */
    public static class BasCodeRuleBuilder {
        private String name;
        private String billFormId;
        private Boolean systemDefault;
        private Boolean autoBillno;
        private Boolean repairBillno;
        private Boolean constLength;
        private String remark;
        private String ruleFieldDictKey;
        private String preview;
 
        BasCodeRuleBuilder() {
        }
 
        public BasCodeRuleBuilder name(final String name) {
            this.name = name;
            return this;
        }
 
        public BasCodeRuleBuilder billFormId(final String billFormId) {
            this.billFormId = billFormId;
            return this;
        }
 
        public BasCodeRuleBuilder systemDefault(final Boolean systemDefault) {
            this.systemDefault = systemDefault;
            return this;
        }
 
        public BasCodeRuleBuilder autoBillno(final Boolean autoBillno) {
            this.autoBillno = autoBillno;
            return this;
        }
 
        public BasCodeRuleBuilder repairBillno(final Boolean repairBillno) {
            this.repairBillno = repairBillno;
            return this;
        }
 
        public BasCodeRuleBuilder constLength(final Boolean constLength) {
            this.constLength = constLength;
            return this;
        }
 
        public BasCodeRuleBuilder remark(final String remark) {
            this.remark = remark;
            return this;
        }
 
        public BasCodeRuleBuilder ruleFieldDictKey(final String ruleFieldDictKey) {
            this.ruleFieldDictKey = ruleFieldDictKey;
            return this;
        }
 
        public BasCodeRuleBuilder preview(final String preview) {
            this.preview = preview;
            return this;
        }
 
        public BasCodeRule build() {
            return new BasCodeRule(this.name, this.billFormId, this.systemDefault, this.autoBillno, this.repairBillno, this.constLength, this.remark, this.ruleFieldDictKey, this.preview);
        }
 
        public String toString() {
            return "BasCodeRule.BasCodeRuleBuilder(name=" + this.name + ", billFormId=" + this.billFormId + ", systemDefault=" + this.systemDefault + ", autoBillno=" + this.autoBillno + ", repairBillno=" + this.repairBillno + ", constLength=" + this.constLength + ", remark=" + this.remark + ", ruleFieldDictKey=" + this.ruleFieldDictKey + ", preview=" + this.preview + ")";
        }
    }
 
    public static BasCodeRuleBuilder builder() {
        return new BasCodeRuleBuilder();
    }
 
    public BasCodeRule() {
    }
 
    public BasCodeRule(final String name, final String billFormId, final Boolean systemDefault, final Boolean autoBillno, final Boolean repairBillno, final Boolean constLength, final String remark, final String ruleFieldDictKey, final String preview) {
        this.name = name;
        this.billFormId = billFormId;
        this.systemDefault = systemDefault;
        this.autoBillno = autoBillno;
        this.repairBillno = repairBillno;
        this.constLength = constLength;
        this.remark = remark;
        this.ruleFieldDictKey = ruleFieldDictKey;
        this.preview = preview;
    }
 
    public String getName() {
        return this.name;
    }
 
    public String getBillFormId() {
        return this.billFormId;
    }
 
    public Boolean getSystemDefault() {
        return this.systemDefault;
    }
 
    public Boolean getAutoBillno() {
        return this.autoBillno;
    }
 
    public Boolean getRepairBillno() {
        return this.repairBillno;
    }
 
    public Boolean getConstLength() {
        return this.constLength;
    }
 
    public String getRemark() {
        return this.remark;
    }
 
    public String getRuleFieldDictKey() {
        return this.ruleFieldDictKey;
    }
 
    public String getPreview() {
        return this.preview;
    }
}