package com.qianwen.smartman.modules.report.dto;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/report/dto/WorkstationDataDTO.class */
|
public class WorkstationDataDTO {
|
private Long workstationId;
|
private String workstationName;
|
private String workstationCode;
|
private String workstationGroup;
|
|
public void setWorkstationId(final Long workstationId) {
|
this.workstationId = workstationId;
|
}
|
|
public void setWorkstationName(final String workstationName) {
|
this.workstationName = workstationName;
|
}
|
|
public void setWorkstationCode(final String workstationCode) {
|
this.workstationCode = workstationCode;
|
}
|
|
public void setWorkstationGroup(final String workstationGroup) {
|
this.workstationGroup = workstationGroup;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof WorkstationDataDTO) {
|
WorkstationDataDTO other = (WorkstationDataDTO) o;
|
if (other.canEqual(this)) {
|
Object this$workstationId = getWorkstationId();
|
Object other$workstationId = other.getWorkstationId();
|
if (this$workstationId == null) {
|
if (other$workstationId != null) {
|
return false;
|
}
|
} else if (!this$workstationId.equals(other$workstationId)) {
|
return false;
|
}
|
Object this$workstationName = getWorkstationName();
|
Object other$workstationName = other.getWorkstationName();
|
if (this$workstationName == null) {
|
if (other$workstationName != null) {
|
return false;
|
}
|
} else if (!this$workstationName.equals(other$workstationName)) {
|
return false;
|
}
|
Object this$workstationCode = getWorkstationCode();
|
Object other$workstationCode = other.getWorkstationCode();
|
if (this$workstationCode == null) {
|
if (other$workstationCode != null) {
|
return false;
|
}
|
} else if (!this$workstationCode.equals(other$workstationCode)) {
|
return false;
|
}
|
Object this$workstationGroup = getWorkstationGroup();
|
Object other$workstationGroup = other.getWorkstationGroup();
|
return this$workstationGroup == null ? other$workstationGroup == null : this$workstationGroup.equals(other$workstationGroup);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof WorkstationDataDTO;
|
}
|
|
public int hashCode() {
|
Object $workstationId = getWorkstationId();
|
int result = (1 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
|
Object $workstationName = getWorkstationName();
|
int result2 = (result * 59) + ($workstationName == null ? 43 : $workstationName.hashCode());
|
Object $workstationCode = getWorkstationCode();
|
int result3 = (result2 * 59) + ($workstationCode == null ? 43 : $workstationCode.hashCode());
|
Object $workstationGroup = getWorkstationGroup();
|
return (result3 * 59) + ($workstationGroup == null ? 43 : $workstationGroup.hashCode());
|
}
|
|
public String toString() {
|
return "WorkstationDataDTO(workstationId=" + getWorkstationId() + ", workstationName=" + getWorkstationName() + ", workstationCode=" + getWorkstationCode() + ", workstationGroup=" + getWorkstationGroup() + ")";
|
}
|
|
public WorkstationDataDTO(final Long workstationId, final String workstationName, final String workstationCode, final String workstationGroup) {
|
this.workstationId = workstationId;
|
this.workstationName = workstationName;
|
this.workstationCode = workstationCode;
|
this.workstationGroup = workstationGroup;
|
}
|
|
public WorkstationDataDTO() {
|
}
|
|
public Long getWorkstationId() {
|
return this.workstationId;
|
}
|
|
public String getWorkstationName() {
|
return this.workstationName;
|
}
|
|
public String getWorkstationCode() {
|
return this.workstationCode;
|
}
|
|
public String getWorkstationGroup() {
|
return this.workstationGroup;
|
}
|
}
|