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
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
package com.qianwen.smartman.modules.smis.vo;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;
import com.qianwen.smartman.modules.smis.dto.CheckItemSubmitDTO;
 
@ApiModel(description = "新增点检项信息")
public class CheckItemSubmitVO implements Serializable {
    private static final long serialVersionUID = 6350482571152153148L;
    @ApiModelProperty(name = "checkProjectId", dataType = "java.lang.String")
    private Long checkProjectId;
    private List<CheckItemSubmitDTO> items;
 
    public static class CheckItemSubmitVOBuilder {
        private Long checkProjectId;
        private List<CheckItemSubmitDTO> items;
 
        CheckItemSubmitVOBuilder() {
        }
 
        public CheckItemSubmitVOBuilder checkProjectId(final Long checkProjectId) {
            this.checkProjectId = checkProjectId;
            return this;
        }
 
        public CheckItemSubmitVOBuilder items(final List<CheckItemSubmitDTO> items) {
            this.items = items;
            return this;
        }
 
        public CheckItemSubmitVO build() {
            return new CheckItemSubmitVO(this.checkProjectId, this.items);
        }
 
        public String toString() {
            return "CheckItemSubmitVO.CheckItemSubmitVOBuilder(checkProjectId=" + this.checkProjectId + ", items=" + this.items + ")";
        }
    }
 
    public void setCheckProjectId(final Long checkProjectId) {
        this.checkProjectId = checkProjectId;
    }
 
    public void setItems(final List<CheckItemSubmitDTO> items) {
        this.items = items;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof CheckItemSubmitVO) {
            CheckItemSubmitVO other = (CheckItemSubmitVO) o;
            if (other.canEqual(this)) {
                Object this$checkProjectId = getCheckProjectId();
                Object other$checkProjectId = other.getCheckProjectId();
                if (this$checkProjectId == null) {
                    if (other$checkProjectId != null) {
                        return false;
                    }
                } else if (!this$checkProjectId.equals(other$checkProjectId)) {
                    return false;
                }
                Object this$items = getItems();
                Object other$items = other.getItems();
                return this$items == null ? other$items == null : this$items.equals(other$items);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof CheckItemSubmitVO;
    }
 
    public int hashCode() {
        Object $checkProjectId = getCheckProjectId();
        int result = (1 * 59) + ($checkProjectId == null ? 43 : $checkProjectId.hashCode());
        Object $items = getItems();
        return (result * 59) + ($items == null ? 43 : $items.hashCode());
    }
 
    public String toString() {
        return "CheckItemSubmitVO(checkProjectId=" + getCheckProjectId() + ", items=" + getItems() + ")";
    }
 
    public static CheckItemSubmitVOBuilder builder() {
        return new CheckItemSubmitVOBuilder();
    }
 
    public CheckItemSubmitVO() {
    }
 
    public CheckItemSubmitVO(final Long checkProjectId, final List<CheckItemSubmitDTO> items) {
        this.checkProjectId = checkProjectId;
        this.items = items;
    }
 
    public Long getCheckProjectId() {
        return this.checkProjectId;
    }
 
    public List<CheckItemSubmitDTO> getItems() {
        return this.items;
    }
}