package com.qianwen.smartman.modules.cps.dto;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/dto/EmployeeDTO.class */
|
public class EmployeeDTO implements Serializable {
|
private static final long serialVersionUID = 1;
|
private Long id;
|
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 organizationName;
|
private String deptId;
|
private String postId;
|
private String userId;
|
private String roleId;
|
private Integer status;
|
private String avatar;
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
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 setOrganizationName(final String organizationName) {
|
this.organizationName = organizationName;
|
}
|
|
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 setStatus(final Integer status) {
|
this.status = status;
|
}
|
|
public void setAvatar(final String avatar) {
|
this.avatar = avatar;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof EmployeeDTO) {
|
EmployeeDTO other = (EmployeeDTO) o;
|
if (other.canEqual(this)) {
|
Object this$id = getId();
|
Object other$id = other.getId();
|
if (this$id == null) {
|
if (other$id != null) {
|
return false;
|
}
|
} else if (!this$id.equals(other$id)) {
|
return false;
|
}
|
Object this$status = getStatus();
|
Object other$status = other.getStatus();
|
if (this$status == null) {
|
if (other$status != null) {
|
return false;
|
}
|
} else if (!this$status.equals(other$status)) {
|
return false;
|
}
|
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$organizationName = getOrganizationName();
|
Object other$organizationName = other.getOrganizationName();
|
if (this$organizationName == null) {
|
if (other$organizationName != null) {
|
return false;
|
}
|
} else if (!this$organizationName.equals(other$organizationName)) {
|
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 EmployeeDTO;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $status = getStatus();
|
int result2 = (result * 59) + ($status == null ? 43 : $status.hashCode());
|
Object $code = getCode();
|
int result3 = (result2 * 59) + ($code == null ? 43 : $code.hashCode());
|
Object $name = getName();
|
int result4 = (result3 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $email = getEmail();
|
int result5 = (result4 * 59) + ($email == null ? 43 : $email.hashCode());
|
Object $tel = getTel();
|
int result6 = (result5 * 59) + ($tel == null ? 43 : $tel.hashCode());
|
Object $hireDate = getHireDate();
|
int result7 = (result6 * 59) + ($hireDate == null ? 43 : $hireDate.hashCode());
|
Object $jobNumber = getJobNumber();
|
int result8 = (result7 * 59) + ($jobNumber == null ? 43 : $jobNumber.hashCode());
|
Object $pinCode = getPinCode();
|
int result9 = (result8 * 59) + ($pinCode == null ? 43 : $pinCode.hashCode());
|
Object $organizationId = getOrganizationId();
|
int result10 = (result9 * 59) + ($organizationId == null ? 43 : $organizationId.hashCode());
|
Object $organizationName = getOrganizationName();
|
int result11 = (result10 * 59) + ($organizationName == null ? 43 : $organizationName.hashCode());
|
Object $deptId = getDeptId();
|
int result12 = (result11 * 59) + ($deptId == null ? 43 : $deptId.hashCode());
|
Object $postId = getPostId();
|
int result13 = (result12 * 59) + ($postId == null ? 43 : $postId.hashCode());
|
Object $userId = getUserId();
|
int result14 = (result13 * 59) + ($userId == null ? 43 : $userId.hashCode());
|
Object $roleId = getRoleId();
|
int result15 = (result14 * 59) + ($roleId == null ? 43 : $roleId.hashCode());
|
Object $avatar = getAvatar();
|
return (result15 * 59) + ($avatar == null ? 43 : $avatar.hashCode());
|
}
|
|
public String toString() {
|
return "EmployeeDTO(id=" + getId() + ", code=" + getCode() + ", name=" + getName() + ", email=" + getEmail() + ", tel=" + getTel() + ", hireDate=" + getHireDate() + ", jobNumber=" + getJobNumber() + ", pinCode=" + getPinCode() + ", organizationId=" + getOrganizationId() + ", organizationName=" + getOrganizationName() + ", deptId=" + getDeptId() + ", postId=" + getPostId() + ", userId=" + getUserId() + ", roleId=" + getRoleId() + ", status=" + getStatus() + ", avatar=" + getAvatar() + ")";
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
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 getOrganizationName() {
|
return this.organizationName;
|
}
|
|
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 Integer getStatus() {
|
return this.status;
|
}
|
|
public String getAvatar() {
|
return this.avatar;
|
}
|
}
|