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
package com.qianwen.smartman.modules.system.handler.password;
 
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.qianwen.smartman.modules.system.dto.PasswordModifyValidInfo;
import com.qianwen.smartman.modules.system.entity.User;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/handler/password/PasswordModifyValidLink.class */
public abstract class PasswordModifyValidLink {
    private static final Logger log = LoggerFactory.getLogger(PasswordModifyValidLink.class);
    private PasswordModifyValidLink next;
 
    public abstract PasswordModifyValidInfo doModifyValid(User user, PasswordModifyValidInfo passwordModifyValidInfo);
 
    public void setNext(final PasswordModifyValidLink next) {
        this.next = next;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof PasswordModifyValidLink) {
            PasswordModifyValidLink other = (PasswordModifyValidLink) o;
            if (other.canEqual(this)) {
                Object this$next = getNext();
                Object other$next = other.getNext();
                return this$next == null ? other$next == null : this$next.equals(other$next);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof PasswordModifyValidLink;
    }
 
    public int hashCode() {
        Object $next = getNext();
        int result = (1 * 59) + ($next == null ? 43 : $next.hashCode());
        return result;
    }
 
    public String toString() {
        return "PasswordModifyValidLink(next=" + getNext() + ")";
    }
 
    public PasswordModifyValidLink getNext() {
        return this.next;
    }
 
    public PasswordModifyValidLink next() {
        return this.next;
    }
 
    public PasswordModifyValidLink appendNext(PasswordModifyValidLink next) {
        setNext(next);
        return this;
    }
}