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
package com.qianwen.smartman.modules.resource.vo;
 
import io.swagger.annotations.ApiModel;
import com.qianwen.smartman.modules.resource.entity.Oss;
 
@ApiModel(value = "OssVO", description = "对象存储表")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/resource/vo/OssVO.class */
public class OssVO extends Oss {
    private static final long serialVersionUID = 1;
    private String categoryName;
    private String statusName;
 
    public void setCategoryName(final String categoryName) {
        this.categoryName = categoryName;
    }
 
    public void setStatusName(final String statusName) {
        this.statusName = statusName;
    }
 
    @Override // org.springblade.modules.resource.entity.Oss
    public String toString() {
        return "OssVO(categoryName=" + getCategoryName() + ", statusName=" + getStatusName() + ")";
    }
 
    @Override // org.springblade.modules.resource.entity.Oss
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof OssVO) {
            OssVO other = (OssVO) o;
            if (other.canEqual(this) && super.equals(o)) {
                Object this$categoryName = getCategoryName();
                Object other$categoryName = other.getCategoryName();
                if (this$categoryName == null) {
                    if (other$categoryName != null) {
                        return false;
                    }
                } else if (!this$categoryName.equals(other$categoryName)) {
                    return false;
                }
                Object this$statusName = getStatusName();
                Object other$statusName = other.getStatusName();
                return this$statusName == null ? other$statusName == null : this$statusName.equals(other$statusName);
            }
            return false;
        }
        return false;
    }
 
    @Override // org.springblade.modules.resource.entity.Oss
    protected boolean canEqual(final Object other) {
        return other instanceof OssVO;
    }
 
    @Override // org.springblade.modules.resource.entity.Oss
    public int hashCode() {
        int result = super.hashCode();
        Object $categoryName = getCategoryName();
        int result2 = (result * 59) + ($categoryName == null ? 43 : $categoryName.hashCode());
        Object $statusName = getStatusName();
        return (result2 * 59) + ($statusName == null ? 43 : $statusName.hashCode());
    }
 
    public String getCategoryName() {
        return this.categoryName;
    }
 
    public String getStatusName() {
        return this.statusName;
    }
}