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
157
158
159
160
161
162
163
164
165
166
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 MdcWorkStationGroupVO implements Serializable {
    private static final long serialVersionUID = 586844474639515146L;
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "工位组id", dataType = "java.lang.String")
    private Long groupId;
    @ApiModelProperty(value = "是否默认选中", dataType = "")
    private Boolean isDefault;
    @ApiModelProperty(value = "工位组名称", dataType = "java.lang.String")
    private String groupName;
    @ApiModelProperty(value = "工位组编号", dataType = "java.lang.String")
    private String groupCode;
 
    
    public static class MdcWorkStationGroupVOBuilder {
        private Long groupId;
        private Boolean isDefault;
        private String groupName;
        private String groupCode;
 
        MdcWorkStationGroupVOBuilder() {
        }
 
        public MdcWorkStationGroupVOBuilder groupId(final Long groupId) {
            this.groupId = groupId;
            return this;
        }
 
        public MdcWorkStationGroupVOBuilder isDefault(final Boolean isDefault) {
            this.isDefault = isDefault;
            return this;
        }
 
        public MdcWorkStationGroupVOBuilder groupName(final String groupName) {
            this.groupName = groupName;
            return this;
        }
 
        public MdcWorkStationGroupVOBuilder groupCode(final String groupCode) {
            this.groupCode = groupCode;
            return this;
        }
 
        public MdcWorkStationGroupVO build() {
            return new MdcWorkStationGroupVO(this.groupId, this.isDefault, this.groupName, this.groupCode);
        }
 
        public String toString() {
            return "MdcWorkStationGroupVO.MdcWorkStationGroupVOBuilder(groupId=" + this.groupId + ", isDefault=" + this.isDefault + ", groupName=" + this.groupName + ", groupCode=" + this.groupCode + ")";
        }
    }
 
    public void setGroupId(final Long groupId) {
        this.groupId = groupId;
    }
 
    public void setIsDefault(final Boolean isDefault) {
        this.isDefault = isDefault;
    }
 
    public void setGroupName(final String groupName) {
        this.groupName = groupName;
    }
 
    public void setGroupCode(final String groupCode) {
        this.groupCode = groupCode;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof MdcWorkStationGroupVO) {
            MdcWorkStationGroupVO other = (MdcWorkStationGroupVO) o;
            if (other.canEqual(this)) {
                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$isDefault = getIsDefault();
                Object other$isDefault = other.getIsDefault();
                if (this$isDefault == null) {
                    if (other$isDefault != null) {
                        return false;
                    }
                } else if (!this$isDefault.equals(other$isDefault)) {
                    return false;
                }
                Object this$groupName = getGroupName();
                Object other$groupName = other.getGroupName();
                if (this$groupName == null) {
                    if (other$groupName != null) {
                        return false;
                    }
                } else if (!this$groupName.equals(other$groupName)) {
                    return false;
                }
                Object this$groupCode = getGroupCode();
                Object other$groupCode = other.getGroupCode();
                return this$groupCode == null ? other$groupCode == null : this$groupCode.equals(other$groupCode);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof MdcWorkStationGroupVO;
    }
 
    public int hashCode() {
        Object $groupId = getGroupId();
        int result = (1 * 59) + ($groupId == null ? 43 : $groupId.hashCode());
        Object $isDefault = getIsDefault();
        int result2 = (result * 59) + ($isDefault == null ? 43 : $isDefault.hashCode());
        Object $groupName = getGroupName();
        int result3 = (result2 * 59) + ($groupName == null ? 43 : $groupName.hashCode());
        Object $groupCode = getGroupCode();
        return (result3 * 59) + ($groupCode == null ? 43 : $groupCode.hashCode());
    }
 
    public String toString() {
        return "MdcWorkStationGroupVO(groupId=" + getGroupId() + ", isDefault=" + getIsDefault() + ", groupName=" + getGroupName() + ", groupCode=" + getGroupCode() + ")";
    }
 
    public static MdcWorkStationGroupVOBuilder builder() {
        return new MdcWorkStationGroupVOBuilder();
    }
 
    public MdcWorkStationGroupVO(final Long groupId, final Boolean isDefault, final String groupName, final String groupCode) {
        this.groupId = groupId;
        this.isDefault = isDefault;
        this.groupName = groupName;
        this.groupCode = groupCode;
    }
 
    public MdcWorkStationGroupVO() {
    }
 
    public Long getGroupId() {
        return this.groupId;
    }
 
    public Boolean getIsDefault() {
        return this.isDefault;
    }
 
    public String getGroupName() {
        return this.groupName;
    }
 
    public String getGroupCode() {
        return this.groupCode;
    }
}