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