package com.qianwen.smartman.modules.cps.entity; import com.baomidou.mybatisplus.annotation.TableName; import java.util.Date; import com.qianwen.core.tenant.mp.TenantEntity; @TableName("blade_employee") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/Employee.class */ public class Employee extends TenantEntity { private static final long serialVersionUID = 1; private String code; private String name; private String email; private String tel; private Date hireDate; private String jobNumber; private String pinCode; private String organizationId; private String deptId; private String postId; private String userId; private String roleId; private String avatar; public void setCode(final String code) { this.code = code; } public void setName(final String name) { this.name = name; } public void setEmail(final String email) { this.email = email; } public void setTel(final String tel) { this.tel = tel; } public void setHireDate(final Date hireDate) { this.hireDate = hireDate; } public void setJobNumber(final String jobNumber) { this.jobNumber = jobNumber; } public void setPinCode(final String pinCode) { this.pinCode = pinCode; } public void setOrganizationId(final String organizationId) { this.organizationId = organizationId; } public void setDeptId(final String deptId) { this.deptId = deptId; } public void setPostId(final String postId) { this.postId = postId; } public void setUserId(final String userId) { this.userId = userId; } public void setRoleId(final String roleId) { this.roleId = roleId; } public void setAvatar(final String avatar) { this.avatar = avatar; } public String toString() { return "Employee(code=" + getCode() + ", name=" + getName() + ", email=" + getEmail() + ", tel=" + getTel() + ", hireDate=" + getHireDate() + ", jobNumber=" + getJobNumber() + ", pinCode=" + getPinCode() + ", organizationId=" + getOrganizationId() + ", deptId=" + getDeptId() + ", postId=" + getPostId() + ", userId=" + getUserId() + ", roleId=" + getRoleId() + ", avatar=" + getAvatar() + ")"; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof Employee) { Employee other = (Employee) o; if (other.canEqual(this) && super.equals(o)) { Object this$code = getCode(); Object other$code = other.getCode(); if (this$code == null) { if (other$code != null) { return false; } } else if (!this$code.equals(other$code)) { 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$email = getEmail(); Object other$email = other.getEmail(); if (this$email == null) { if (other$email != null) { return false; } } else if (!this$email.equals(other$email)) { return false; } Object this$tel = getTel(); Object other$tel = other.getTel(); if (this$tel == null) { if (other$tel != null) { return false; } } else if (!this$tel.equals(other$tel)) { return false; } Object this$hireDate = getHireDate(); Object other$hireDate = other.getHireDate(); if (this$hireDate == null) { if (other$hireDate != null) { return false; } } else if (!this$hireDate.equals(other$hireDate)) { return false; } Object this$jobNumber = getJobNumber(); Object other$jobNumber = other.getJobNumber(); if (this$jobNumber == null) { if (other$jobNumber != null) { return false; } } else if (!this$jobNumber.equals(other$jobNumber)) { return false; } Object this$pinCode = getPinCode(); Object other$pinCode = other.getPinCode(); if (this$pinCode == null) { if (other$pinCode != null) { return false; } } else if (!this$pinCode.equals(other$pinCode)) { return false; } Object this$organizationId = getOrganizationId(); Object other$organizationId = other.getOrganizationId(); if (this$organizationId == null) { if (other$organizationId != null) { return false; } } else if (!this$organizationId.equals(other$organizationId)) { return false; } Object this$deptId = getDeptId(); Object other$deptId = other.getDeptId(); if (this$deptId == null) { if (other$deptId != null) { return false; } } else if (!this$deptId.equals(other$deptId)) { return false; } Object this$postId = getPostId(); Object other$postId = other.getPostId(); if (this$postId == null) { if (other$postId != null) { return false; } } else if (!this$postId.equals(other$postId)) { return false; } Object this$userId = getUserId(); Object other$userId = other.getUserId(); if (this$userId == null) { if (other$userId != null) { return false; } } else if (!this$userId.equals(other$userId)) { return false; } Object this$roleId = getRoleId(); Object other$roleId = other.getRoleId(); if (this$roleId == null) { if (other$roleId != null) { return false; } } else if (!this$roleId.equals(other$roleId)) { return false; } Object this$avatar = getAvatar(); Object other$avatar = other.getAvatar(); return this$avatar == null ? other$avatar == null : this$avatar.equals(other$avatar); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof Employee; } public int hashCode() { int result = super.hashCode(); Object $code = getCode(); int result2 = (result * 59) + ($code == null ? 43 : $code.hashCode()); Object $name = getName(); int result3 = (result2 * 59) + ($name == null ? 43 : $name.hashCode()); Object $email = getEmail(); int result4 = (result3 * 59) + ($email == null ? 43 : $email.hashCode()); Object $tel = getTel(); int result5 = (result4 * 59) + ($tel == null ? 43 : $tel.hashCode()); Object $hireDate = getHireDate(); int result6 = (result5 * 59) + ($hireDate == null ? 43 : $hireDate.hashCode()); Object $jobNumber = getJobNumber(); int result7 = (result6 * 59) + ($jobNumber == null ? 43 : $jobNumber.hashCode()); Object $pinCode = getPinCode(); int result8 = (result7 * 59) + ($pinCode == null ? 43 : $pinCode.hashCode()); Object $organizationId = getOrganizationId(); int result9 = (result8 * 59) + ($organizationId == null ? 43 : $organizationId.hashCode()); Object $deptId = getDeptId(); int result10 = (result9 * 59) + ($deptId == null ? 43 : $deptId.hashCode()); Object $postId = getPostId(); int result11 = (result10 * 59) + ($postId == null ? 43 : $postId.hashCode()); Object $userId = getUserId(); int result12 = (result11 * 59) + ($userId == null ? 43 : $userId.hashCode()); Object $roleId = getRoleId(); int result13 = (result12 * 59) + ($roleId == null ? 43 : $roleId.hashCode()); Object $avatar = getAvatar(); return (result13 * 59) + ($avatar == null ? 43 : $avatar.hashCode()); } public String getCode() { return this.code; } public String getName() { return this.name; } public String getEmail() { return this.email; } public String getTel() { return this.tel; } public Date getHireDate() { return this.hireDate; } public String getJobNumber() { return this.jobNumber; } public String getPinCode() { return this.pinCode; } public String getOrganizationId() { return this.organizationId; } public String getDeptId() { return this.deptId; } public String getPostId() { return this.postId; } public String getUserId() { return this.userId; } public String getRoleId() { return this.roleId; } public String getAvatar() { return this.avatar; } }