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.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
 
@ApiModel(value = "产品类型切换状态VO对象", description = "产品类型")
public class ProductTypeChangeStatusVO {
    @ApiModelProperty("要切换的id集合")
    private List<String> ids;
    @ApiModelProperty("状态: 1为启用 0为禁用")
    private Integer status;
 
    public void setIds(final List<String> ids) {
        this.ids = ids;
    }
 
    public void setStatus(final Integer status) {
        this.status = status;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof ProductTypeChangeStatusVO) {
            ProductTypeChangeStatusVO other = (ProductTypeChangeStatusVO) o;
            if (other.canEqual(this)) {
                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$ids = getIds();
                Object other$ids = other.getIds();
                return this$ids == null ? other$ids == null : this$ids.equals(other$ids);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof ProductTypeChangeStatusVO;
    }
 
    public int hashCode() {
        Object $status = getStatus();
        int result = (1 * 59) + ($status == null ? 43 : $status.hashCode());
        Object $ids = getIds();
        return (result * 59) + ($ids == null ? 43 : $ids.hashCode());
    }
 
    public String toString() {
        return "ProductTypeChangeStatusVO(ids=" + getIds() + ", status=" + getStatus() + ")";
    }
 
    public List<String> getIds() {
        return this.ids;
    }
 
    public Integer getStatus() {
        return this.status;
    }
}