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
package com.qianwen.smartman.modules.system.dto;
 
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
import com.qianwen.smartman.modules.system.entity.BasCodeRuleEntry;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/dto/BasCoderuleDTO.class */
public class BasCoderuleDTO {
    private static final long serialVersionUID = 1;
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("主键")
    private Long id;
    @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("编码规则明细")
    List<BasCodeRuleEntry> entryList;
    private String preview;
    private String ruleFieldDictKey;
 
    public void setId(final Long id) {
        this.id = id;
    }
 
    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 setEntryList(final List<BasCodeRuleEntry> entryList) {
        this.entryList = entryList;
    }
 
    public void setPreview(final String preview) {
        this.preview = preview;
    }
 
    public void setRuleFieldDictKey(final String ruleFieldDictKey) {
        this.ruleFieldDictKey = ruleFieldDictKey;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof BasCoderuleDTO) {
            BasCoderuleDTO other = (BasCoderuleDTO) 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$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$entryList = getEntryList();
                Object other$entryList = other.getEntryList();
                if (this$entryList == null) {
                    if (other$entryList != null) {
                        return false;
                    }
                } else if (!this$entryList.equals(other$entryList)) {
                    return false;
                }
                Object this$preview = getPreview();
                Object other$preview = other.getPreview();
                if (this$preview == null) {
                    if (other$preview != null) {
                        return false;
                    }
                } else if (!this$preview.equals(other$preview)) {
                    return false;
                }
                Object this$ruleFieldDictKey = getRuleFieldDictKey();
                Object other$ruleFieldDictKey = other.getRuleFieldDictKey();
                return this$ruleFieldDictKey == null ? other$ruleFieldDictKey == null : this$ruleFieldDictKey.equals(other$ruleFieldDictKey);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof BasCoderuleDTO;
    }
 
    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.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 $entryList = getEntryList();
        int result9 = (result8 * 59) + ($entryList == null ? 43 : $entryList.hashCode());
        Object $preview = getPreview();
        int result10 = (result9 * 59) + ($preview == null ? 43 : $preview.hashCode());
        Object $ruleFieldDictKey = getRuleFieldDictKey();
        return (result10 * 59) + ($ruleFieldDictKey == null ? 43 : $ruleFieldDictKey.hashCode());
    }
 
    public String toString() {
        return "BasCoderuleDTO(id=" + getId() + ", name=" + getName() + ", billFormId=" + getBillFormId() + ", systemDefault=" + getSystemDefault() + ", autoBillno=" + getAutoBillno() + ", repairBillno=" + getRepairBillno() + ", constLength=" + getConstLength() + ", remark=" + getRemark() + ", entryList=" + getEntryList() + ", preview=" + getPreview() + ", ruleFieldDictKey=" + getRuleFieldDictKey() + ")";
    }
 
    public Long getId() {
        return this.id;
    }
 
    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 List<BasCodeRuleEntry> getEntryList() {
        return this.entryList;
    }
 
    public String getPreview() {
        return this.preview;
    }
 
    public String getRuleFieldDictKey() {
        return this.ruleFieldDictKey;
    }
}