yangys
2024-03-28 23a939ed820ee32f9a4309f9c81b7bab5a566f30
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
package com.qianwen.smartman.modules.cps.entity;
 
import com.baomidou.mybatisplus.annotation.TableName;
import com.qianwen.core.mp.base.IdEntity;
 
@TableName("blade_employee_post")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/EmployeePost.class */
public class EmployeePost extends IdEntity {
    private static final long serialVersionUID = 1;
    private Long employeeId;
    private Long postId;
 
    public void setEmployeeId(final Long employeeId) {
        this.employeeId = employeeId;
    }
 
    public void setPostId(final Long postId) {
        this.postId = postId;
    }
 
    public String toString() {
        return "EmployeePost(employeeId=" + getEmployeeId() + ", postId=" + getPostId() + ")";
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof EmployeePost) {
            EmployeePost other = (EmployeePost) o;
            if (other.canEqual(this) && super.equals(o)) {
                Object this$employeeId = getEmployeeId();
                Object other$employeeId = other.getEmployeeId();
                if (this$employeeId == null) {
                    if (other$employeeId != null) {
                        return false;
                    }
                } else if (!this$employeeId.equals(other$employeeId)) {
                    return false;
                }
                Object this$postId = getPostId();
                Object other$postId = other.getPostId();
                return this$postId == null ? other$postId == null : this$postId.equals(other$postId);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof EmployeePost;
    }
 
    public int hashCode() {
        int result = super.hashCode();
        Object $employeeId = getEmployeeId();
        int result2 = (result * 59) + ($employeeId == null ? 43 : $employeeId.hashCode());
        Object $postId = getPostId();
        return (result2 * 59) + ($postId == null ? 43 : $postId.hashCode());
    }
 
    public Long getEmployeeId() {
        return this.employeeId;
    }
 
    public Long getPostId() {
        return this.postId;
    }
}