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
125
126
127
128
129
130
131
132
133
134
135
136
137
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.tenant.mp.TenantEntity;
 
@ApiModel(value = "Workbench", description = "工作台对象")
@TableName("blade_workbench")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/entity/Workbench.class */
public class Workbench extends TenantEntity {
    private static final long serialVersionUID = 1;
    @ApiModelProperty("工作台名称")
    private String name;
    @ApiModelProperty("排序")
    private Integer sort;
    @ApiModelProperty("图片展示")
    private String pictureLink;
    @ApiModelProperty("是否自动生成")
    private Integer isSystem;
    @ApiModelProperty("创建人姓名")
    private String userName;
 
    public void setName(final String name) {
        this.name = name;
    }
 
    public void setSort(final Integer sort) {
        this.sort = sort;
    }
 
    public void setPictureLink(final String pictureLink) {
        this.pictureLink = pictureLink;
    }
 
    public void setIsSystem(final Integer isSystem) {
        this.isSystem = isSystem;
    }
 
    public void setUserName(final String userName) {
        this.userName = userName;
    }
 
    public String toString() {
        return "Workbench(name=" + getName() + ", sort=" + getSort() + ", pictureLink=" + getPictureLink() + ", isSystem=" + getIsSystem() + ", userName=" + getUserName() + ")";
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof Workbench) {
            Workbench other = (Workbench) o;
            if (other.canEqual(this) && super.equals(o)) {
                Object this$sort = getSort();
                Object other$sort = other.getSort();
                if (this$sort == null) {
                    if (other$sort != null) {
                        return false;
                    }
                } else if (!this$sort.equals(other$sort)) {
                    return false;
                }
                Object this$isSystem = getIsSystem();
                Object other$isSystem = other.getIsSystem();
                if (this$isSystem == null) {
                    if (other$isSystem != null) {
                        return false;
                    }
                } else if (!this$isSystem.equals(other$isSystem)) {
                    return false;
                }
                Object this$name = getName();
                Object other$name = other.getName();
                if (this$name == null) {
                    if (other$name != null) {
                        return false;
                    }
                } else if (!this$name.equals(other$name)) {
                    return false;
                }
                Object this$pictureLink = getPictureLink();
                Object other$pictureLink = other.getPictureLink();
                if (this$pictureLink == null) {
                    if (other$pictureLink != null) {
                        return false;
                    }
                } else if (!this$pictureLink.equals(other$pictureLink)) {
                    return false;
                }
                Object this$userName = getUserName();
                Object other$userName = other.getUserName();
                return this$userName == null ? other$userName == null : this$userName.equals(other$userName);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof Workbench;
    }
 
    public int hashCode() {
        int result = super.hashCode();
        Object $sort = getSort();
        int result2 = (result * 59) + ($sort == null ? 43 : $sort.hashCode());
        Object $isSystem = getIsSystem();
        int result3 = (result2 * 59) + ($isSystem == null ? 43 : $isSystem.hashCode());
        Object $name = getName();
        int result4 = (result3 * 59) + ($name == null ? 43 : $name.hashCode());
        Object $pictureLink = getPictureLink();
        int result5 = (result4 * 59) + ($pictureLink == null ? 43 : $pictureLink.hashCode());
        Object $userName = getUserName();
        return (result5 * 59) + ($userName == null ? 43 : $userName.hashCode());
    }
 
    public String getName() {
        return this.name;
    }
 
    public Integer getSort() {
        return this.sort;
    }
 
    public String getPictureLink() {
        return this.pictureLink;
    }
 
    public Integer getIsSystem() {
        return this.isSystem;
    }
 
    public String getUserName() {
        return this.userName;
    }
}