yangys
2024-04-01 86cdd920b68274185233383f69ddb974052b6b6f
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
116
117
118
119
120
121
122
123
124
package com.qianwen.smartman.modules.system.entity;
 
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.qianwen.core.mp.base.BaseEntity;
 
@ApiModel(value = "InterfaceConfig对象", description = "接口配置表")
@TableName("blade_interface_config")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/entity/InterfaceConfig.class */
public class InterfaceConfig extends BaseEntity {
    private static final long serialVersionUID = 1;
    @ApiModelProperty("接口url")
    private String url;
    @ApiModelProperty("接口中文名")
    private String urlName;
    @ApiModelProperty("接口类型 0 - POST; 1 - PUT; 2 - GET")
    private Integer urlType;
    @ApiModelProperty("1 柱状折线图 2 饼图 3 甘特图 4 表格 5 仪表盘")
    private String owningChart;
 
    public InterfaceConfig setUrl(final String url) {
        this.url = url;
        return this;
    }
 
    public InterfaceConfig setUrlName(final String urlName) {
        this.urlName = urlName;
        return this;
    }
 
    public InterfaceConfig setUrlType(final Integer urlType) {
        this.urlType = urlType;
        return this;
    }
 
    public InterfaceConfig setOwningChart(final String owningChart) {
        this.owningChart = owningChart;
        return this;
    }
 
    public String toString() {
        return "InterfaceConfig(url=" + getUrl() + ", urlName=" + getUrlName() + ", urlType=" + getUrlType() + ", owningChart=" + getOwningChart() + ")";
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof InterfaceConfig) {
            InterfaceConfig other = (InterfaceConfig) o;
            if (other.canEqual(this) && super.equals(o)) {
                Object this$urlType = getUrlType();
                Object other$urlType = other.getUrlType();
                if (this$urlType == null) {
                    if (other$urlType != null) {
                        return false;
                    }
                } else if (!this$urlType.equals(other$urlType)) {
                    return false;
                }
                Object this$url = getUrl();
                Object other$url = other.getUrl();
                if (this$url == null) {
                    if (other$url != null) {
                        return false;
                    }
                } else if (!this$url.equals(other$url)) {
                    return false;
                }
                Object this$urlName = getUrlName();
                Object other$urlName = other.getUrlName();
                if (this$urlName == null) {
                    if (other$urlName != null) {
                        return false;
                    }
                } else if (!this$urlName.equals(other$urlName)) {
                    return false;
                }
                Object this$owningChart = getOwningChart();
                Object other$owningChart = other.getOwningChart();
                return this$owningChart == null ? other$owningChart == null : this$owningChart.equals(other$owningChart);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof InterfaceConfig;
    }
 
    public int hashCode() {
        int result = super.hashCode();
        Object $urlType = getUrlType();
        int result2 = (result * 59) + ($urlType == null ? 43 : $urlType.hashCode());
        Object $url = getUrl();
        int result3 = (result2 * 59) + ($url == null ? 43 : $url.hashCode());
        Object $urlName = getUrlName();
        int result4 = (result3 * 59) + ($urlName == null ? 43 : $urlName.hashCode());
        Object $owningChart = getOwningChart();
        return (result4 * 59) + ($owningChart == null ? 43 : $owningChart.hashCode());
    }
 
    public String getUrl() {
        return this.url;
    }
 
    public String getUrlName() {
        return this.urlName;
    }
 
    public Integer getUrlType() {
        return this.urlType;
    }
 
    public String getOwningChart() {
        return this.owningChart;
    }
 
    public Long getId() {
        return super.getId();
    }
}