yangys
2024-05-18 040976de6f9934b99f30268a28e2ecf42260e217
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
package com.qianwen.core.sms.model;
 
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.io.Serializable;
 
 
public class SmsCode implements Serializable {
    private static final long serialVersionUID = 1;
    private boolean success = Boolean.TRUE.booleanValue();
    private String phone;
    private String id;
    @JsonIgnore
    private String value;
 
    public SmsCode setSuccess(final boolean success) {
        this.success = success;
        return this;
    }
 
    public SmsCode setPhone(final String phone) {
        this.phone = phone;
        return this;
    }
 
    public SmsCode setId(final String id) {
        this.id = id;
        return this;
    }
 
    @JsonIgnore
    public SmsCode setValue(final String value) {
        this.value = value;
        return this;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof SmsCode) {
            SmsCode other = (SmsCode) o;
            if (other.canEqual(this) && isSuccess() == other.isSuccess()) {
                Object this$phone = getPhone();
                Object other$phone = other.getPhone();
                if (this$phone == null) {
                    if (other$phone != null) {
                        return false;
                    }
                } else if (!this$phone.equals(other$phone)) {
                    return false;
                }
                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$value = getValue();
                Object other$value = other.getValue();
                return this$value == null ? other$value == null : this$value.equals(other$value);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof SmsCode;
    }
 
    public int hashCode() {
        int result = (1 * 59) + (isSuccess() ? 79 : 97);
        Object $phone = getPhone();
        int result2 = (result * 59) + ($phone == null ? 43 : $phone.hashCode());
        Object $id = getId();
        int result3 = (result2 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $value = getValue();
        return (result3 * 59) + ($value == null ? 43 : $value.hashCode());
    }
 
    public String toString() {
        return "SmsCode(success=" + isSuccess() + ", phone=" + getPhone() + ", id=" + getId() + ", value=" + getValue() + ")";
    }
 
    public boolean isSuccess() {
        return this.success;
    }
 
    public String getPhone() {
        return this.phone;
    }
 
    public String getId() {
        return this.id;
    }
 
    public String getValue() {
        return this.value;
    }
}