yangys
2024-04-04 ed4a5236bab800094be4a8378f5098eebe3de6ac
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.system.vo;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
 
@ApiModel(value = "CustomTemplateBusinessVo对象", description = "自定义模板关联业务表")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/vo/CustomTemplateBusinessVO.class */
public class CustomTemplateBusinessVO implements Serializable {
    private Long templateId;
    private Long relationId;
    @ApiModelProperty("业务类型 1:计划工单,2:产品")
    private Integer businessType;
    private Long id;
 
    public void setTemplateId(final Long templateId) {
        this.templateId = templateId;
    }
 
    public void setRelationId(final Long relationId) {
        this.relationId = relationId;
    }
 
    public void setBusinessType(final Integer businessType) {
        this.businessType = businessType;
    }
 
    public void setId(final Long id) {
        this.id = id;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof CustomTemplateBusinessVO) {
            CustomTemplateBusinessVO other = (CustomTemplateBusinessVO) o;
            if (other.canEqual(this)) {
                Object this$templateId = getTemplateId();
                Object other$templateId = other.getTemplateId();
                if (this$templateId == null) {
                    if (other$templateId != null) {
                        return false;
                    }
                } else if (!this$templateId.equals(other$templateId)) {
                    return false;
                }
                Object this$relationId = getRelationId();
                Object other$relationId = other.getRelationId();
                if (this$relationId == null) {
                    if (other$relationId != null) {
                        return false;
                    }
                } else if (!this$relationId.equals(other$relationId)) {
                    return false;
                }
                Object this$businessType = getBusinessType();
                Object other$businessType = other.getBusinessType();
                if (this$businessType == null) {
                    if (other$businessType != null) {
                        return false;
                    }
                } else if (!this$businessType.equals(other$businessType)) {
                    return false;
                }
                Object this$id = getId();
                Object other$id = other.getId();
                return this$id == null ? other$id == null : this$id.equals(other$id);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof CustomTemplateBusinessVO;
    }
 
    public int hashCode() {
        Object $templateId = getTemplateId();
        int result = (1 * 59) + ($templateId == null ? 43 : $templateId.hashCode());
        Object $relationId = getRelationId();
        int result2 = (result * 59) + ($relationId == null ? 43 : $relationId.hashCode());
        Object $businessType = getBusinessType();
        int result3 = (result2 * 59) + ($businessType == null ? 43 : $businessType.hashCode());
        Object $id = getId();
        return (result3 * 59) + ($id == null ? 43 : $id.hashCode());
    }
 
    public String toString() {
        return "CustomTemplateBusinessVO(templateId=" + getTemplateId() + ", relationId=" + getRelationId() + ", businessType=" + getBusinessType() + ", id=" + getId() + ")";
    }
 
    public Long getTemplateId() {
        return this.templateId;
    }
 
    public Long getRelationId() {
        return this.relationId;
    }
 
    public Integer getBusinessType() {
        return this.businessType;
    }
 
    public Long getId() {
        return this.id;
    }
}