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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
package com.qianwen.smartman.modules.system.vo;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
 
@ApiModel(value = "InterfaceConfigVo对象", description = "接口配置表")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/vo/InterfaceConfigVO.class */
public class InterfaceConfigVO implements Serializable {
    @NotBlank(message = "接口url不能为空")
    @ApiModelProperty("接口url")
    @Size(max = 255, message = "接口url长度不能超过255")
    private String url;
    @NotBlank(message = "接口中文名不能为空")
    @ApiModelProperty("接口中文名")
    @Size(max = 64, message = "接口中文名长度不能超过64")
    private String urlName;
    @NotNull(message = "接口类型不能为空")
    @ApiModelProperty("接口类型 0 - POST; 1 - PUT; 2 - GET")
    private Integer urlType;
    @NotBlank(message = "1 柱状折线图 2 饼图 3 甘特图 4 表格 5 仪表盘不能为空")
    @ApiModelProperty("1 柱状折线图 2 饼图 3 甘特图 4 表格 5 仪表盘")
    @Size(max = 255, message = "1 柱状折线图 2 饼图 3 甘特图 4 表格 5 仪表盘长度不能超过255")
    private String owningChart;
    private Long id;
    @ApiModelProperty("业务状态 1启用 0 停用")
    private Integer status;
 
    public void setUrl(final String url) {
        this.url = url;
    }
 
    public void setUrlName(final String urlName) {
        this.urlName = urlName;
    }
 
    public void setUrlType(final Integer urlType) {
        this.urlType = urlType;
    }
 
    public void setOwningChart(final String owningChart) {
        this.owningChart = owningChart;
    }
 
    public void setId(final Long id) {
        this.id = id;
    }
 
    public void setStatus(final Integer status) {
        this.status = status;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof InterfaceConfigVO) {
            InterfaceConfigVO other = (InterfaceConfigVO) o;
            if (other.canEqual(this)) {
                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$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$status = getStatus();
                Object other$status = other.getStatus();
                if (this$status == null) {
                    if (other$status != null) {
                        return false;
                    }
                } else if (!this$status.equals(other$status)) {
                    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 InterfaceConfigVO;
    }
 
    public int hashCode() {
        Object $urlType = getUrlType();
        int result = (1 * 59) + ($urlType == null ? 43 : $urlType.hashCode());
        Object $id = getId();
        int result2 = (result * 59) + ($id == null ? 43 : $id.hashCode());
        Object $status = getStatus();
        int result3 = (result2 * 59) + ($status == null ? 43 : $status.hashCode());
        Object $url = getUrl();
        int result4 = (result3 * 59) + ($url == null ? 43 : $url.hashCode());
        Object $urlName = getUrlName();
        int result5 = (result4 * 59) + ($urlName == null ? 43 : $urlName.hashCode());
        Object $owningChart = getOwningChart();
        return (result5 * 59) + ($owningChart == null ? 43 : $owningChart.hashCode());
    }
 
    public String toString() {
        return "InterfaceConfigVO(url=" + getUrl() + ", urlName=" + getUrlName() + ", urlType=" + getUrlType() + ", owningChart=" + getOwningChart() + ", id=" + getId() + ", status=" + getStatus() + ")";
    }
 
    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 this.id;
    }
 
    public Integer getStatus() {
        return this.status;
    }
}