yangys
2024-11-02 f69073b835f1a0c66590130e1830edcdd75ebb8a
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
package com.qianwen.smartman.modules.smis.vo;
 
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
 
public class MachineSelectVO implements Serializable {
    private static final long serialVersionUID = 1;
    @ApiModelProperty("机器编号")
    private String machineCode;
    @ApiModelProperty("机器名称")
    private String machineName;
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("机器类型")
    private Long machineTypeId;
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("所属工位组")
    private Long groupId;
    @ApiModelProperty("状态:1 启用 0 停用")
    private Integer status;
    @ApiModelProperty("关键词")
    private String keyword;
 
    public void setMachineCode(final String machineCode) {
        this.machineCode = machineCode;
    }
 
    public void setMachineName(final String machineName) {
        this.machineName = machineName;
    }
 
    public void setMachineTypeId(final Long machineTypeId) {
        this.machineTypeId = machineTypeId;
    }
 
    public void setGroupId(final Long groupId) {
        this.groupId = groupId;
    }
 
    public void setStatus(final Integer status) {
        this.status = status;
    }
 
    public void setKeyword(final String keyword) {
        this.keyword = keyword;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof MachineSelectVO) {
            MachineSelectVO other = (MachineSelectVO) o;
            if (other.canEqual(this)) {
                Object this$machineTypeId = getMachineTypeId();
                Object other$machineTypeId = other.getMachineTypeId();
                if (this$machineTypeId == null) {
                    if (other$machineTypeId != null) {
                        return false;
                    }
                } else if (!this$machineTypeId.equals(other$machineTypeId)) {
                    return false;
                }
                Object this$groupId = getGroupId();
                Object other$groupId = other.getGroupId();
                if (this$groupId == null) {
                    if (other$groupId != null) {
                        return false;
                    }
                } else if (!this$groupId.equals(other$groupId)) {
                    return false;
                }
                Object this$status = getStatus();
                Object other$status = other.getStatus();
                if (this$status == null) {
                    if (other$status != null) {
                        return false;
                    }
                } else if (!this$status.equals(other$status)) {
                    return false;
                }
                Object this$machineCode = getMachineCode();
                Object other$machineCode = other.getMachineCode();
                if (this$machineCode == null) {
                    if (other$machineCode != null) {
                        return false;
                    }
                } else if (!this$machineCode.equals(other$machineCode)) {
                    return false;
                }
                Object this$machineName = getMachineName();
                Object other$machineName = other.getMachineName();
                if (this$machineName == null) {
                    if (other$machineName != null) {
                        return false;
                    }
                } else if (!this$machineName.equals(other$machineName)) {
                    return false;
                }
                Object this$keyword = getKeyword();
                Object other$keyword = other.getKeyword();
                return this$keyword == null ? other$keyword == null : this$keyword.equals(other$keyword);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof MachineSelectVO;
    }
 
    public int hashCode() {
        Object $machineTypeId = getMachineTypeId();
        int result = (1 * 59) + ($machineTypeId == null ? 43 : $machineTypeId.hashCode());
        Object $groupId = getGroupId();
        int result2 = (result * 59) + ($groupId == null ? 43 : $groupId.hashCode());
        Object $status = getStatus();
        int result3 = (result2 * 59) + ($status == null ? 43 : $status.hashCode());
        Object $machineCode = getMachineCode();
        int result4 = (result3 * 59) + ($machineCode == null ? 43 : $machineCode.hashCode());
        Object $machineName = getMachineName();
        int result5 = (result4 * 59) + ($machineName == null ? 43 : $machineName.hashCode());
        Object $keyword = getKeyword();
        return (result5 * 59) + ($keyword == null ? 43 : $keyword.hashCode());
    }
 
    public String toString() {
        return "MachineSelectVO(machineCode=" + getMachineCode() + ", machineName=" + getMachineName() + ", machineTypeId=" + getMachineTypeId() + ", groupId=" + getGroupId() + ", status=" + getStatus() + ", keyword=" + getKeyword() + ")";
    }
 
    public String getMachineCode() {
        return this.machineCode;
    }
 
    public String getMachineName() {
        return this.machineName;
    }
 
    public Long getMachineTypeId() {
        return this.machineTypeId;
    }
 
    public Long getGroupId() {
        return this.groupId;
    }
 
    public Integer getStatus() {
        return this.status;
    }
 
    public String getKeyword() {
        return this.keyword;
    }
}