yangys
2024-03-27 e48aa2ac8dea1be5db11c63edf0b912c4ad5ce65
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
package com.qianwen.smartman.modules.cps.dto;
 
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/dto/MaintainProjectItemAddDTO.class */
public class MaintainProjectItemAddDTO implements Serializable {
    private static final long serialVersionUID = 1;
    @NotNull(message = "保养项目Id不能为空")
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("保养项目Id")
    private Long projectId;
    @NotNull(message = "保养项Id不能为空")
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "保养项Id", required = true)
    private Long itemId;
 
    public void setProjectId(final Long projectId) {
        this.projectId = projectId;
    }
 
    public void setItemId(final Long itemId) {
        this.itemId = itemId;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof MaintainProjectItemAddDTO) {
            MaintainProjectItemAddDTO other = (MaintainProjectItemAddDTO) o;
            if (other.canEqual(this)) {
                Object this$projectId = getProjectId();
                Object other$projectId = other.getProjectId();
                if (this$projectId == null) {
                    if (other$projectId != null) {
                        return false;
                    }
                } else if (!this$projectId.equals(other$projectId)) {
                    return false;
                }
                Object this$itemId = getItemId();
                Object other$itemId = other.getItemId();
                return this$itemId == null ? other$itemId == null : this$itemId.equals(other$itemId);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof MaintainProjectItemAddDTO;
    }
 
    public int hashCode() {
        Object $projectId = getProjectId();
        int result = (1 * 59) + ($projectId == null ? 43 : $projectId.hashCode());
        Object $itemId = getItemId();
        return (result * 59) + ($itemId == null ? 43 : $itemId.hashCode());
    }
 
    public String toString() {
        return "MaintainProjectItemAddDTO(projectId=" + getProjectId() + ", itemId=" + getItemId() + ")";
    }
 
    public Long getProjectId() {
        return this.projectId;
    }
 
    public Long getItemId() {
        return this.itemId;
    }
}