yangys
2024-03-28 23a939ed820ee32f9a4309f9c81b7bab5a566f30
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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
package com.qianwen.smartman.modules.cps.entity;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.qianwen.core.mp.base.BaseEntity;
 
@ApiModel(value = "WarehouseStation对象", description = "库区库位")
@TableName("blade_warehouse_station")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/WarehouseStation.class */
public class WarehouseStation extends BaseEntity {
    private static final long serialVersionUID = 1;
    @ApiModelProperty("所属租户")
    private String tenantId;
    @ApiModelProperty("库区id")
    private Long areaId;
    @ApiModelProperty("库位编号")
    private String warehouseCode;
    @ApiModelProperty("库位名称")
    private String warehouseName;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("图片")
    private String avatar;
    @TableField(exist = false)
    @ApiModelProperty("库区名称")
    private String warehouseAreaName;
    @TableField(exist = false)
    @ApiModelProperty("库区编号")
    private String warehouseAreaCode;
 
    public WarehouseStation setTenantId(final String tenantId) {
        this.tenantId = tenantId;
        return this;
    }
 
    public WarehouseStation setAreaId(final Long areaId) {
        this.areaId = areaId;
        return this;
    }
 
    public WarehouseStation setWarehouseCode(final String warehouseCode) {
        this.warehouseCode = warehouseCode;
        return this;
    }
 
    public WarehouseStation setWarehouseName(final String warehouseName) {
        this.warehouseName = warehouseName;
        return this;
    }
 
    public WarehouseStation setRemark(final String remark) {
        this.remark = remark;
        return this;
    }
 
    public WarehouseStation setAvatar(final String avatar) {
        this.avatar = avatar;
        return this;
    }
 
    public WarehouseStation setWarehouseAreaName(final String warehouseAreaName) {
        this.warehouseAreaName = warehouseAreaName;
        return this;
    }
 
    public WarehouseStation setWarehouseAreaCode(final String warehouseAreaCode) {
        this.warehouseAreaCode = warehouseAreaCode;
        return this;
    }
 
    public String toString() {
        return "WarehouseStation(tenantId=" + getTenantId() + ", areaId=" + getAreaId() + ", warehouseCode=" + getWarehouseCode() + ", warehouseName=" + getWarehouseName() + ", remark=" + getRemark() + ", avatar=" + getAvatar() + ", warehouseAreaName=" + getWarehouseAreaName() + ", warehouseAreaCode=" + getWarehouseAreaCode() + ")";
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof WarehouseStation) {
            WarehouseStation other = (WarehouseStation) o;
            if (other.canEqual(this) && super.equals(o)) {
                Object this$areaId = getAreaId();
                Object other$areaId = other.getAreaId();
                if (this$areaId == null) {
                    if (other$areaId != null) {
                        return false;
                    }
                } else if (!this$areaId.equals(other$areaId)) {
                    return false;
                }
                Object this$tenantId = getTenantId();
                Object other$tenantId = other.getTenantId();
                if (this$tenantId == null) {
                    if (other$tenantId != null) {
                        return false;
                    }
                } else if (!this$tenantId.equals(other$tenantId)) {
                    return false;
                }
                Object this$warehouseCode = getWarehouseCode();
                Object other$warehouseCode = other.getWarehouseCode();
                if (this$warehouseCode == null) {
                    if (other$warehouseCode != null) {
                        return false;
                    }
                } else if (!this$warehouseCode.equals(other$warehouseCode)) {
                    return false;
                }
                Object this$warehouseName = getWarehouseName();
                Object other$warehouseName = other.getWarehouseName();
                if (this$warehouseName == null) {
                    if (other$warehouseName != null) {
                        return false;
                    }
                } else if (!this$warehouseName.equals(other$warehouseName)) {
                    return false;
                }
                Object this$remark = getRemark();
                Object other$remark = other.getRemark();
                if (this$remark == null) {
                    if (other$remark != null) {
                        return false;
                    }
                } else if (!this$remark.equals(other$remark)) {
                    return false;
                }
                Object this$avatar = getAvatar();
                Object other$avatar = other.getAvatar();
                if (this$avatar == null) {
                    if (other$avatar != null) {
                        return false;
                    }
                } else if (!this$avatar.equals(other$avatar)) {
                    return false;
                }
                Object this$warehouseAreaName = getWarehouseAreaName();
                Object other$warehouseAreaName = other.getWarehouseAreaName();
                if (this$warehouseAreaName == null) {
                    if (other$warehouseAreaName != null) {
                        return false;
                    }
                } else if (!this$warehouseAreaName.equals(other$warehouseAreaName)) {
                    return false;
                }
                Object this$warehouseAreaCode = getWarehouseAreaCode();
                Object other$warehouseAreaCode = other.getWarehouseAreaCode();
                return this$warehouseAreaCode == null ? other$warehouseAreaCode == null : this$warehouseAreaCode.equals(other$warehouseAreaCode);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof WarehouseStation;
    }
 
    public int hashCode() {
        int result = super.hashCode();
        Object $areaId = getAreaId();
        int result2 = (result * 59) + ($areaId == null ? 43 : $areaId.hashCode());
        Object $tenantId = getTenantId();
        int result3 = (result2 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
        Object $warehouseCode = getWarehouseCode();
        int result4 = (result3 * 59) + ($warehouseCode == null ? 43 : $warehouseCode.hashCode());
        Object $warehouseName = getWarehouseName();
        int result5 = (result4 * 59) + ($warehouseName == null ? 43 : $warehouseName.hashCode());
        Object $remark = getRemark();
        int result6 = (result5 * 59) + ($remark == null ? 43 : $remark.hashCode());
        Object $avatar = getAvatar();
        int result7 = (result6 * 59) + ($avatar == null ? 43 : $avatar.hashCode());
        Object $warehouseAreaName = getWarehouseAreaName();
        int result8 = (result7 * 59) + ($warehouseAreaName == null ? 43 : $warehouseAreaName.hashCode());
        Object $warehouseAreaCode = getWarehouseAreaCode();
        return (result8 * 59) + ($warehouseAreaCode == null ? 43 : $warehouseAreaCode.hashCode());
    }
 
    public String getTenantId() {
        return this.tenantId;
    }
 
    public Long getAreaId() {
        return this.areaId;
    }
 
    public String getWarehouseCode() {
        return this.warehouseCode;
    }
 
    public String getWarehouseName() {
        return this.warehouseName;
    }
 
    public String getRemark() {
        return this.remark;
    }
 
    public String getAvatar() {
        return this.avatar;
    }
 
    public String getWarehouseAreaName() {
        return this.warehouseAreaName;
    }
 
    public String getWarehouseAreaCode() {
        return this.warehouseAreaCode;
    }
}