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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
package com.qianwen.smartman.modules.resource.entity;
 
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.qianwen.core.tenant.mp.TenantEntity;
 
@ApiModel(value = "Oss", description = "Oss对象")
@TableName("blade_oss")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/resource/entity/Oss.class */
public class Oss extends TenantEntity {
    private static final long serialVersionUID = 1;
    @ApiModelProperty("所属分类")
    private Integer category;
    @ApiModelProperty("资源编号")
    private String ossCode;
    @ApiModelProperty("资源地址")
    private String endpoint;
    @ApiModelProperty("accessKey")
    private String accessKey;
    @ApiModelProperty("secretKey")
    private String secretKey;
    @ApiModelProperty("空间名")
    private String bucketName;
    @ApiModelProperty("应用ID")
    private String appId;
    @ApiModelProperty("地域简称")
    private String region;
    @ApiModelProperty("备注")
    private String remark;
 
    public void setCategory(final Integer category) {
        this.category = category;
    }
 
    public void setOssCode(final String ossCode) {
        this.ossCode = ossCode;
    }
 
    public void setEndpoint(final String endpoint) {
        this.endpoint = endpoint;
    }
 
    public void setAccessKey(final String accessKey) {
        this.accessKey = accessKey;
    }
 
    public void setSecretKey(final String secretKey) {
        this.secretKey = secretKey;
    }
 
    public void setBucketName(final String bucketName) {
        this.bucketName = bucketName;
    }
 
    public void setAppId(final String appId) {
        this.appId = appId;
    }
 
    public void setRegion(final String region) {
        this.region = region;
    }
 
    public void setRemark(final String remark) {
        this.remark = remark;
    }
 
    public String toString() {
        return "Oss(category=" + getCategory() + ", ossCode=" + getOssCode() + ", endpoint=" + getEndpoint() + ", accessKey=" + getAccessKey() + ", secretKey=" + getSecretKey() + ", bucketName=" + getBucketName() + ", appId=" + getAppId() + ", region=" + getRegion() + ", remark=" + getRemark() + ")";
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof Oss) {
            Oss other = (Oss) o;
            if (other.canEqual(this) && super.equals(o)) {
                Object this$category = getCategory();
                Object other$category = other.getCategory();
                if (this$category == null) {
                    if (other$category != null) {
                        return false;
                    }
                } else if (!this$category.equals(other$category)) {
                    return false;
                }
                Object this$ossCode = getOssCode();
                Object other$ossCode = other.getOssCode();
                if (this$ossCode == null) {
                    if (other$ossCode != null) {
                        return false;
                    }
                } else if (!this$ossCode.equals(other$ossCode)) {
                    return false;
                }
                Object this$endpoint = getEndpoint();
                Object other$endpoint = other.getEndpoint();
                if (this$endpoint == null) {
                    if (other$endpoint != null) {
                        return false;
                    }
                } else if (!this$endpoint.equals(other$endpoint)) {
                    return false;
                }
                Object this$accessKey = getAccessKey();
                Object other$accessKey = other.getAccessKey();
                if (this$accessKey == null) {
                    if (other$accessKey != null) {
                        return false;
                    }
                } else if (!this$accessKey.equals(other$accessKey)) {
                    return false;
                }
                Object this$secretKey = getSecretKey();
                Object other$secretKey = other.getSecretKey();
                if (this$secretKey == null) {
                    if (other$secretKey != null) {
                        return false;
                    }
                } else if (!this$secretKey.equals(other$secretKey)) {
                    return false;
                }
                Object this$bucketName = getBucketName();
                Object other$bucketName = other.getBucketName();
                if (this$bucketName == null) {
                    if (other$bucketName != null) {
                        return false;
                    }
                } else if (!this$bucketName.equals(other$bucketName)) {
                    return false;
                }
                Object this$appId = getAppId();
                Object other$appId = other.getAppId();
                if (this$appId == null) {
                    if (other$appId != null) {
                        return false;
                    }
                } else if (!this$appId.equals(other$appId)) {
                    return false;
                }
                Object this$region = getRegion();
                Object other$region = other.getRegion();
                if (this$region == null) {
                    if (other$region != null) {
                        return false;
                    }
                } else if (!this$region.equals(other$region)) {
                    return false;
                }
                Object this$remark = getRemark();
                Object other$remark = other.getRemark();
                return this$remark == null ? other$remark == null : this$remark.equals(other$remark);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof Oss;
    }
 
    public int hashCode() {
        int result = super.hashCode();
        Object $category = getCategory();
        int result2 = (result * 59) + ($category == null ? 43 : $category.hashCode());
        Object $ossCode = getOssCode();
        int result3 = (result2 * 59) + ($ossCode == null ? 43 : $ossCode.hashCode());
        Object $endpoint = getEndpoint();
        int result4 = (result3 * 59) + ($endpoint == null ? 43 : $endpoint.hashCode());
        Object $accessKey = getAccessKey();
        int result5 = (result4 * 59) + ($accessKey == null ? 43 : $accessKey.hashCode());
        Object $secretKey = getSecretKey();
        int result6 = (result5 * 59) + ($secretKey == null ? 43 : $secretKey.hashCode());
        Object $bucketName = getBucketName();
        int result7 = (result6 * 59) + ($bucketName == null ? 43 : $bucketName.hashCode());
        Object $appId = getAppId();
        int result8 = (result7 * 59) + ($appId == null ? 43 : $appId.hashCode());
        Object $region = getRegion();
        int result9 = (result8 * 59) + ($region == null ? 43 : $region.hashCode());
        Object $remark = getRemark();
        return (result9 * 59) + ($remark == null ? 43 : $remark.hashCode());
    }
 
    public Integer getCategory() {
        return this.category;
    }
 
    public String getOssCode() {
        return this.ossCode;
    }
 
    public String getEndpoint() {
        return this.endpoint;
    }
 
    public String getAccessKey() {
        return this.accessKey;
    }
 
    public String getSecretKey() {
        return this.secretKey;
    }
 
    public String getBucketName() {
        return this.bucketName;
    }
 
    public String getAppId() {
        return this.appId;
    }
 
    public String getRegion() {
        return this.region;
    }
 
    public String getRemark() {
        return this.remark;
    }
}