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;
|
}
|
}
|