yangys
2024-04-01 14f1953b1944b3e53d8312e151902c4695faa2e1
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.tdengine.dto;
 
import java.io.Serializable;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tdengine/dto/RemoveTableDTO.class */
public class RemoveTableDTO implements Serializable {
    private Long workstationId;
    private String usageCode;
    private Integer collectType;
 
    public void setWorkstationId(final Long workstationId) {
        this.workstationId = workstationId;
    }
 
    public void setUsageCode(final String usageCode) {
        this.usageCode = usageCode;
    }
 
    public void setCollectType(final Integer collectType) {
        this.collectType = collectType;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof RemoveTableDTO) {
            RemoveTableDTO other = (RemoveTableDTO) 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$collectType = getCollectType();
                Object other$collectType = other.getCollectType();
                if (this$collectType == null) {
                    if (other$collectType != null) {
                        return false;
                    }
                } else if (!this$collectType.equals(other$collectType)) {
                    return false;
                }
                Object this$usageCode = getUsageCode();
                Object other$usageCode = other.getUsageCode();
                return this$usageCode == null ? other$usageCode == null : this$usageCode.equals(other$usageCode);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof RemoveTableDTO;
    }
 
    public int hashCode() {
        Object $workstationId = getWorkstationId();
        int result = (1 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
        Object $collectType = getCollectType();
        int result2 = (result * 59) + ($collectType == null ? 43 : $collectType.hashCode());
        Object $usageCode = getUsageCode();
        return (result2 * 59) + ($usageCode == null ? 43 : $usageCode.hashCode());
    }
 
    public String toString() {
        return "RemoveTableDTO(workstationId=" + getWorkstationId() + ", usageCode=" + getUsageCode() + ", collectType=" + getCollectType() + ")";
    }
 
    public RemoveTableDTO(final Long workstationId, final String usageCode, final Integer collectType) {
        this.workstationId = workstationId;
        this.usageCode = usageCode;
        this.collectType = collectType;
    }
 
    public Long getWorkstationId() {
        return this.workstationId;
    }
 
    public String getUsageCode() {
        return this.usageCode;
    }
 
    public Integer getCollectType() {
        return this.collectType;
    }
}