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
package com.qianwen.smartman.modules.smis.vo;
 
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.validation.constraints.NotBlank;
 
public class WarehouseExportVO implements Serializable {
    private static final long serialVersionUID = -5923222884069080371L;
    @ApiModelProperty("库位编号或库位名称")
    private String keyword;
    @NotBlank(message = "{cps.warehouse.area.id.can.not.be.null}")
    @ApiModelProperty(value = "库区id", dataType = "java.lang.String")
    private Long areaId;
 
    public void setKeyword(final String keyword) {
        this.keyword = keyword;
    }
 
    public void setAreaId(final Long areaId) {
        this.areaId = areaId;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof WarehouseExportVO) {
            WarehouseExportVO other = (WarehouseExportVO) o;
            if (other.canEqual(this)) {
                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$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 WarehouseExportVO;
    }
 
    public int hashCode() {
        Object $areaId = getAreaId();
        int result = (1 * 59) + ($areaId == null ? 43 : $areaId.hashCode());
        Object $keyword = getKeyword();
        return (result * 59) + ($keyword == null ? 43 : $keyword.hashCode());
    }
 
    public String toString() {
        return "WarehouseExportVO(keyword=" + getKeyword() + ", areaId=" + getAreaId() + ")";
    }
 
    public String getKeyword() {
        return this.keyword;
    }
 
    public Long getAreaId() {
        return this.areaId;
    }
}