yangys
2024-03-28 23a939ed820ee32f9a4309f9c81b7bab5a566f30
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
package com.qianwen.smartman.modules.cps.dto;
 
import java.io.Serializable;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/dto/MachineExtDTO.class */
public class MachineExtDTO implements Serializable {
    private static final long serialVersionUID = 8002136424403628039L;
    private String extendId;
    private Long workstationId;
 
    public void setExtendId(final String extendId) {
        this.extendId = extendId;
    }
 
    public void setWorkstationId(final Long workstationId) {
        this.workstationId = workstationId;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof MachineExtDTO) {
            MachineExtDTO other = (MachineExtDTO) o;
            if (other.canEqual(this)) {
                Object this$workstationId = getWorkstationId();
                Object other$workstationId = other.getWorkstationId();
                if (this$workstationId == null) {
                    if (other$workstationId != null) {
                        return false;
                    }
                } else if (!this$workstationId.equals(other$workstationId)) {
                    return false;
                }
                Object this$extendId = getExtendId();
                Object other$extendId = other.getExtendId();
                return this$extendId == null ? other$extendId == null : this$extendId.equals(other$extendId);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof MachineExtDTO;
    }
 
    public int hashCode() {
        Object $workstationId = getWorkstationId();
        int result = (1 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
        Object $extendId = getExtendId();
        return (result * 59) + ($extendId == null ? 43 : $extendId.hashCode());
    }
 
    public String toString() {
        return "MachineExtDTO(extendId=" + getExtendId() + ", workstationId=" + getWorkstationId() + ")";
    }
 
    public String getExtendId() {
        return this.extendId;
    }
 
    public Long getWorkstationId() {
        return this.workstationId;
    }
}