yangys
2024-10-30 c27b939fa5fa6ce4d712f7e9ced2ad811d69d5ec
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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
package com.qianwen.smartman.modules.smis.vo;
 
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.NotNull;
 
public class CommonGroupTypeVO implements Serializable {
    private static final long serialVersionUID = 1;
    @NotNull(message = "组别不能为空")
    @ApiModelProperty(value = "组别", required = true)
    private String groupType;
    @NotNull(message = "组子类不能为空")
    @ApiModelProperty(value = "组子类", required = true)
    private Integer groupCategory;
    @ApiModelProperty("工位内部存储区分")
    private Integer distinguish;
    @ApiModelProperty("业务状态 1启用 0 停用")
    private Integer status;
    @ApiModelProperty("工位id集合")
    private List<Long> workstationIdList;
    @ApiModelProperty("工种")
    private Integer workType;
    @ApiModelProperty("关键字查询")
    private String keyword;
 
    public CommonGroupTypeVO setGroupType(final String groupType) {
        this.groupType = groupType;
        return this;
    }
 
    public CommonGroupTypeVO setGroupCategory(final Integer groupCategory) {
        this.groupCategory = groupCategory;
        return this;
    }
 
    public CommonGroupTypeVO setDistinguish(final Integer distinguish) {
        this.distinguish = distinguish;
        return this;
    }
 
    public CommonGroupTypeVO setStatus(final Integer status) {
        this.status = status;
        return this;
    }
 
    public CommonGroupTypeVO setWorkstationIdList(final List<Long> workstationIdList) {
        this.workstationIdList = workstationIdList;
        return this;
    }
 
    public CommonGroupTypeVO setWorkType(final Integer workType) {
        this.workType = workType;
        return this;
    }
 
    public CommonGroupTypeVO setKeyword(final String keyword) {
        this.keyword = keyword;
        return this;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof CommonGroupTypeVO) {
            CommonGroupTypeVO other = (CommonGroupTypeVO) o;
            if (other.canEqual(this)) {
                Object this$groupCategory = getGroupCategory();
                Object other$groupCategory = other.getGroupCategory();
                if (this$groupCategory == null) {
                    if (other$groupCategory != null) {
                        return false;
                    }
                } else if (!this$groupCategory.equals(other$groupCategory)) {
                    return false;
                }
                Object this$distinguish = getDistinguish();
                Object other$distinguish = other.getDistinguish();
                if (this$distinguish == null) {
                    if (other$distinguish != null) {
                        return false;
                    }
                } else if (!this$distinguish.equals(other$distinguish)) {
                    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$workType = getWorkType();
                Object other$workType = other.getWorkType();
                if (this$workType == null) {
                    if (other$workType != null) {
                        return false;
                    }
                } else if (!this$workType.equals(other$workType)) {
                    return false;
                }
                Object this$groupType = getGroupType();
                Object other$groupType = other.getGroupType();
                if (this$groupType == null) {
                    if (other$groupType != null) {
                        return false;
                    }
                } else if (!this$groupType.equals(other$groupType)) {
                    return false;
                }
                Object this$workstationIdList = getWorkstationIdList();
                Object other$workstationIdList = other.getWorkstationIdList();
                if (this$workstationIdList == null) {
                    if (other$workstationIdList != null) {
                        return false;
                    }
                } else if (!this$workstationIdList.equals(other$workstationIdList)) {
                    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 CommonGroupTypeVO;
    }
 
    public int hashCode() {
        Object $groupCategory = getGroupCategory();
        int result = (1 * 59) + ($groupCategory == null ? 43 : $groupCategory.hashCode());
        Object $distinguish = getDistinguish();
        int result2 = (result * 59) + ($distinguish == null ? 43 : $distinguish.hashCode());
        Object $status = getStatus();
        int result3 = (result2 * 59) + ($status == null ? 43 : $status.hashCode());
        Object $workType = getWorkType();
        int result4 = (result3 * 59) + ($workType == null ? 43 : $workType.hashCode());
        Object $groupType = getGroupType();
        int result5 = (result4 * 59) + ($groupType == null ? 43 : $groupType.hashCode());
        Object $workstationIdList = getWorkstationIdList();
        int result6 = (result5 * 59) + ($workstationIdList == null ? 43 : $workstationIdList.hashCode());
        Object $keyword = getKeyword();
        return (result6 * 59) + ($keyword == null ? 43 : $keyword.hashCode());
    }
 
    public String toString() {
        return "CommonGroupTypeVO(groupType=" + getGroupType() + ", groupCategory=" + getGroupCategory() + ", distinguish=" + getDistinguish() + ", status=" + getStatus() + ", workstationIdList=" + getWorkstationIdList() + ", workType=" + getWorkType() + ", keyword=" + getKeyword() + ")";
    }
 
    public String getGroupType() {
        return this.groupType;
    }
 
    public Integer getGroupCategory() {
        return this.groupCategory;
    }
 
    public Integer getDistinguish() {
        return this.distinguish;
    }
 
    public Integer getStatus() {
        return this.status;
    }
 
    public List<Long> getWorkstationIdList() {
        return this.workstationIdList;
    }
 
    public Integer getWorkType() {
        return this.workType;
    }
 
    public String getKeyword() {
        return this.keyword;
    }
}