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
package com.qianwen.smartman.modules.smis.vo;
 
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;
 
public class TrayStorageAddVO implements Serializable {
    private static final long serialVersionUID = 3551521163458367654L;
    @ApiModelProperty("托盘id")
    private List<Long> trayIds;
    @ApiModelProperty(value = "库位id", dataType = "java.lang.String")
    private Long warehouseStationId;
 
    public void setTrayIds(final List<Long> trayIds) {
        this.trayIds = trayIds;
    }
 
    public void setWarehouseStationId(final Long warehouseStationId) {
        this.warehouseStationId = warehouseStationId;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof TrayStorageAddVO) {
            TrayStorageAddVO other = (TrayStorageAddVO) o;
            if (other.canEqual(this)) {
                Object this$warehouseStationId = getWarehouseStationId();
                Object other$warehouseStationId = other.getWarehouseStationId();
                if (this$warehouseStationId == null) {
                    if (other$warehouseStationId != null) {
                        return false;
                    }
                } else if (!this$warehouseStationId.equals(other$warehouseStationId)) {
                    return false;
                }
                Object this$trayIds = getTrayIds();
                Object other$trayIds = other.getTrayIds();
                return this$trayIds == null ? other$trayIds == null : this$trayIds.equals(other$trayIds);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof TrayStorageAddVO;
    }
 
    public int hashCode() {
        Object $warehouseStationId = getWarehouseStationId();
        int result = (1 * 59) + ($warehouseStationId == null ? 43 : $warehouseStationId.hashCode());
        Object $trayIds = getTrayIds();
        return (result * 59) + ($trayIds == null ? 43 : $trayIds.hashCode());
    }
 
    public String toString() {
        return "TrayStorageAddVO(trayIds=" + getTrayIds() + ", warehouseStationId=" + getWarehouseStationId() + ")";
    }
 
    public List<Long> getTrayIds() {
        return this.trayIds;
    }
 
    public Long getWarehouseStationId() {
        return this.warehouseStationId;
    }
}