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
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
110
111
112
113
114
115
package com.qianwen.smartman.modules.system.entity;
 
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
 
@ApiModel(value = "CustomTemplateBusiness对象", description = "自定义模板关联业务表")
@TableName("blade_custom_template_business")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/entity/CustomTemplateBusiness.class */
public class CustomTemplateBusiness {
    private static final long serialVersionUID = 1;
    private Long id;
    private Long templateId;
    private Long relationId;
    @ApiModelProperty("业务类型 1:计划工单,2:产品")
    private Integer businessType;
 
    public CustomTemplateBusiness setId(final Long id) {
        this.id = id;
        return this;
    }
 
    public CustomTemplateBusiness setTemplateId(final Long templateId) {
        this.templateId = templateId;
        return this;
    }
 
    public CustomTemplateBusiness setRelationId(final Long relationId) {
        this.relationId = relationId;
        return this;
    }
 
    public CustomTemplateBusiness setBusinessType(final Integer businessType) {
        this.businessType = businessType;
        return this;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof CustomTemplateBusiness) {
            CustomTemplateBusiness other = (CustomTemplateBusiness) o;
            if (other.canEqual(this)) {
                Object this$id = getId();
                Object other$id = other.getId();
                if (this$id == null) {
                    if (other$id != null) {
                        return false;
                    }
                } else if (!this$id.equals(other$id)) {
                    return false;
                }
                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();
                return this$businessType == null ? other$businessType == null : this$businessType.equals(other$businessType);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof CustomTemplateBusiness;
    }
 
    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $templateId = getTemplateId();
        int result2 = (result * 59) + ($templateId == null ? 43 : $templateId.hashCode());
        Object $relationId = getRelationId();
        int result3 = (result2 * 59) + ($relationId == null ? 43 : $relationId.hashCode());
        Object $businessType = getBusinessType();
        return (result3 * 59) + ($businessType == null ? 43 : $businessType.hashCode());
    }
 
    public String toString() {
        return "CustomTemplateBusiness(id=" + getId() + ", templateId=" + getTemplateId() + ", relationId=" + getRelationId() + ", businessType=" + getBusinessType() + ")";
    }
 
    public Long getId() {
        return this.id;
    }
 
    public Long getTemplateId() {
        return this.templateId;
    }
 
    public Long getRelationId() {
        return this.relationId;
    }
 
    public Integer getBusinessType() {
        return this.businessType;
    }
}