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
package com.qianwen.smartman.modules.coproduction.dto;
 
import com.qianwen.smartman.common.constant.CommonConstant;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/dto/CheckResultDTO.class */
public class CheckResultDTO {
    private Integer code;
    private String json;
    private String error;
 
    public void setCode(final Integer code) {
        this.code = code;
    }
 
    public void setJson(final String json) {
        this.json = json;
    }
 
    public void setError(final String error) {
        this.error = error;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof CheckResultDTO) {
            CheckResultDTO other = (CheckResultDTO) o;
            if (other.canEqual(this)) {
                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$json = getJson();
                Object other$json = other.getJson();
                if (this$json == null) {
                    if (other$json != null) {
                        return false;
                    }
                } else if (!this$json.equals(other$json)) {
                    return false;
                }
                Object this$error = getError();
                Object other$error = other.getError();
                return this$error == null ? other$error == null : this$error.equals(other$error);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof CheckResultDTO;
    }
 
    public int hashCode() {
        Object $code = getCode();
        int result = (1 * 59) + ($code == null ? 43 : $code.hashCode());
        Object $json = getJson();
        int result2 = (result * 59) + ($json == null ? 43 : $json.hashCode());
        Object $error = getError();
        return (result2 * 59) + ($error == null ? 43 : $error.hashCode());
    }
 
    public String toString() {
        return "CheckResultDTO(code=" + getCode() + ", json=" + getJson() + ", error=" + getError() + ")";
    }
 
    public Integer getCode() {
        return this.code;
    }
 
    public String getJson() {
        return this.json;
    }
 
    public String getError() {
        return this.error;
    }
 
    public CheckResultDTO error(String error) {
        this.code = CommonConstant.DEACTIVATE;
        this.error = error;
        return this;
    }
}