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
package com.qianwen.smartman.modules.smis.vo;
 
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.NotEmpty;
 
public class IdsVO implements Serializable {
    private static final long serialVersionUID = -6262141466710124464L;
    @NotEmpty(message = "id不能为空")
    private List<String> ids;
 
    public void setIds(final List<String> ids) {
        this.ids = ids;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof IdsVO) {
            IdsVO other = (IdsVO) o;
            if (other.canEqual(this)) {
                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 IdsVO;
    }
 
    public int hashCode() {
        Object $ids = getIds();
        int result = (1 * 59) + ($ids == null ? 43 : $ids.hashCode());
        return result;
    }
 
    public String toString() {
        return "IdsVO(ids=" + getIds() + ")";
    }
 
    public List<String> getIds() {
        return this.ids;
    }
}