package com.qianwen.smartman.modules.cps.dto;
|
|
import java.io.Serializable;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/dto/CalendarShiftDTO.class */
|
public class CalendarShiftDTO implements Serializable {
|
private static final long serialVersionUID = -1824203085457327485L;
|
private String calendarDate;
|
private Integer shiftStartTime;
|
private Integer shiftEndTime;
|
private Integer shiftIndex;
|
private String indexName;
|
|
public void setCalendarDate(final String calendarDate) {
|
this.calendarDate = calendarDate;
|
}
|
|
public void setShiftStartTime(final Integer shiftStartTime) {
|
this.shiftStartTime = shiftStartTime;
|
}
|
|
public void setShiftEndTime(final Integer shiftEndTime) {
|
this.shiftEndTime = shiftEndTime;
|
}
|
|
public void setShiftIndex(final Integer shiftIndex) {
|
this.shiftIndex = shiftIndex;
|
}
|
|
public void setIndexName(final String indexName) {
|
this.indexName = indexName;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof CalendarShiftDTO) {
|
CalendarShiftDTO other = (CalendarShiftDTO) o;
|
if (other.canEqual(this)) {
|
Object this$shiftStartTime = getShiftStartTime();
|
Object other$shiftStartTime = other.getShiftStartTime();
|
if (this$shiftStartTime == null) {
|
if (other$shiftStartTime != null) {
|
return false;
|
}
|
} else if (!this$shiftStartTime.equals(other$shiftStartTime)) {
|
return false;
|
}
|
Object this$shiftEndTime = getShiftEndTime();
|
Object other$shiftEndTime = other.getShiftEndTime();
|
if (this$shiftEndTime == null) {
|
if (other$shiftEndTime != null) {
|
return false;
|
}
|
} else if (!this$shiftEndTime.equals(other$shiftEndTime)) {
|
return false;
|
}
|
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$calendarDate = getCalendarDate();
|
Object other$calendarDate = other.getCalendarDate();
|
if (this$calendarDate == null) {
|
if (other$calendarDate != null) {
|
return false;
|
}
|
} else if (!this$calendarDate.equals(other$calendarDate)) {
|
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 CalendarShiftDTO;
|
}
|
|
public int hashCode() {
|
Object $shiftStartTime = getShiftStartTime();
|
int result = (1 * 59) + ($shiftStartTime == null ? 43 : $shiftStartTime.hashCode());
|
Object $shiftEndTime = getShiftEndTime();
|
int result2 = (result * 59) + ($shiftEndTime == null ? 43 : $shiftEndTime.hashCode());
|
Object $shiftIndex = getShiftIndex();
|
int result3 = (result2 * 59) + ($shiftIndex == null ? 43 : $shiftIndex.hashCode());
|
Object $calendarDate = getCalendarDate();
|
int result4 = (result3 * 59) + ($calendarDate == null ? 43 : $calendarDate.hashCode());
|
Object $indexName = getIndexName();
|
return (result4 * 59) + ($indexName == null ? 43 : $indexName.hashCode());
|
}
|
|
public String toString() {
|
return "CalendarShiftDTO(calendarDate=" + getCalendarDate() + ", shiftStartTime=" + getShiftStartTime() + ", shiftEndTime=" + getShiftEndTime() + ", shiftIndex=" + getShiftIndex() + ", indexName=" + getIndexName() + ")";
|
}
|
|
public String getCalendarDate() {
|
return this.calendarDate;
|
}
|
|
public Integer getShiftStartTime() {
|
return this.shiftStartTime;
|
}
|
|
public Integer getShiftEndTime() {
|
return this.shiftEndTime;
|
}
|
|
public Integer getShiftIndex() {
|
return this.shiftIndex;
|
}
|
|
public String getIndexName() {
|
return this.indexName;
|
}
|
}
|