package com.qianwen.smartman.modules.mdc.dto;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/mdc/dto/ShiftIndexNameDTO.class */
|
public class ShiftIndexNameDTO {
|
@ApiModelProperty("班次下标")
|
private Integer shiftIndex;
|
@ApiModelProperty("实际的班次名称")
|
private String shiftIndexName;
|
@ApiModelProperty("转换后的班次名称")
|
private String indexName;
|
|
public void setShiftIndex(final Integer shiftIndex) {
|
this.shiftIndex = shiftIndex;
|
}
|
|
public void setShiftIndexName(final String shiftIndexName) {
|
this.shiftIndexName = shiftIndexName;
|
}
|
|
public void setIndexName(final String indexName) {
|
this.indexName = indexName;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ShiftIndexNameDTO) {
|
ShiftIndexNameDTO other = (ShiftIndexNameDTO) o;
|
if (other.canEqual(this)) {
|
Object this$shiftIndex = getShiftIndex();
|
Object other$shiftIndex = other.getShiftIndex();
|
if (this$shiftIndex == null) {
|
if (other$shiftIndex != null) {
|
return false;
|
}
|
} else if (!this$shiftIndex.equals(other$shiftIndex)) {
|
return false;
|
}
|
Object this$shiftIndexName = getShiftIndexName();
|
Object other$shiftIndexName = other.getShiftIndexName();
|
if (this$shiftIndexName == null) {
|
if (other$shiftIndexName != null) {
|
return false;
|
}
|
} else if (!this$shiftIndexName.equals(other$shiftIndexName)) {
|
return false;
|
}
|
Object this$indexName = getIndexName();
|
Object other$indexName = other.getIndexName();
|
return this$indexName == null ? other$indexName == null : this$indexName.equals(other$indexName);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ShiftIndexNameDTO;
|
}
|
|
public int hashCode() {
|
Object $shiftIndex = getShiftIndex();
|
int result = (1 * 59) + ($shiftIndex == null ? 43 : $shiftIndex.hashCode());
|
Object $shiftIndexName = getShiftIndexName();
|
int result2 = (result * 59) + ($shiftIndexName == null ? 43 : $shiftIndexName.hashCode());
|
Object $indexName = getIndexName();
|
return (result2 * 59) + ($indexName == null ? 43 : $indexName.hashCode());
|
}
|
|
public String toString() {
|
return "ShiftIndexNameDTO(shiftIndex=" + getShiftIndex() + ", shiftIndexName=" + getShiftIndexName() + ", indexName=" + getIndexName() + ")";
|
}
|
|
public Integer getShiftIndex() {
|
return this.shiftIndex;
|
}
|
|
public String getShiftIndexName() {
|
return this.shiftIndexName;
|
}
|
|
public String getIndexName() {
|
return this.indexName;
|
}
|
}
|