yangys
2024-03-27 e48aa2ac8dea1be5db11c63edf0b912c4ad5ce65
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
104
105
106
107
108
109
110
111
112
113
114
115
116
package com.qianwen.smartman.modules.cps.vo;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
import com.qianwen.smartman.modules.cps.entity.CommonGroup;
 
@ApiModel("fms工位组视图")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/FmsWorkstationGroupVO.class */
public class FmsWorkstationGroupVO extends CommonGroup {
    private List<FmsWorkstationGroupVO> children;
    @ApiModelProperty("工位设备类型")
    private Integer deviceType;
    @ApiModelProperty("工位设备类型名称")
    private String deviceTypeName;
    @ApiModelProperty("是否是工位")
    private Boolean disabled = true;
 
    public void setChildren(final List<FmsWorkstationGroupVO> children) {
        this.children = children;
    }
 
    public void setDeviceType(final Integer deviceType) {
        this.deviceType = deviceType;
    }
 
    public void setDeviceTypeName(final String deviceTypeName) {
        this.deviceTypeName = deviceTypeName;
    }
 
    public void setDisabled(final Boolean disabled) {
        this.disabled = disabled;
    }
 
    @Override // org.springblade.modules.cps.entity.CommonGroup
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof FmsWorkstationGroupVO) {
            FmsWorkstationGroupVO other = (FmsWorkstationGroupVO) o;
            if (other.canEqual(this)) {
                Object this$deviceType = getDeviceType();
                Object other$deviceType = other.getDeviceType();
                if (this$deviceType == null) {
                    if (other$deviceType != null) {
                        return false;
                    }
                } else if (!this$deviceType.equals(other$deviceType)) {
                    return false;
                }
                Object this$disabled = getDisabled();
                Object other$disabled = other.getDisabled();
                if (this$disabled == null) {
                    if (other$disabled != null) {
                        return false;
                    }
                } else if (!this$disabled.equals(other$disabled)) {
                    return false;
                }
                Object this$children = getChildren();
                Object other$children = other.getChildren();
                if (this$children == null) {
                    if (other$children != null) {
                        return false;
                    }
                } else if (!this$children.equals(other$children)) {
                    return false;
                }
                Object this$deviceTypeName = getDeviceTypeName();
                Object other$deviceTypeName = other.getDeviceTypeName();
                return this$deviceTypeName == null ? other$deviceTypeName == null : this$deviceTypeName.equals(other$deviceTypeName);
            }
            return false;
        }
        return false;
    }
 
    @Override // org.springblade.modules.cps.entity.CommonGroup
    protected boolean canEqual(final Object other) {
        return other instanceof FmsWorkstationGroupVO;
    }
 
    @Override // org.springblade.modules.cps.entity.CommonGroup
    public int hashCode() {
        Object $deviceType = getDeviceType();
        int result = (1 * 59) + ($deviceType == null ? 43 : $deviceType.hashCode());
        Object $disabled = getDisabled();
        int result2 = (result * 59) + ($disabled == null ? 43 : $disabled.hashCode());
        Object $children = getChildren();
        int result3 = (result2 * 59) + ($children == null ? 43 : $children.hashCode());
        Object $deviceTypeName = getDeviceTypeName();
        return (result3 * 59) + ($deviceTypeName == null ? 43 : $deviceTypeName.hashCode());
    }
 
    @Override // org.springblade.modules.cps.entity.CommonGroup
    public String toString() {
        return "FmsWorkstationGroupVO(children=" + getChildren() + ", deviceType=" + getDeviceType() + ", deviceTypeName=" + getDeviceTypeName() + ", disabled=" + getDisabled() + ")";
    }
 
    public List<FmsWorkstationGroupVO> getChildren() {
        return this.children;
    }
 
    public Integer getDeviceType() {
        return this.deviceType;
    }
 
    public String getDeviceTypeName() {
        return this.deviceTypeName;
    }
 
    public Boolean getDisabled() {
        return this.disabled;
    }
}