package com.qianwen.smartman.modules.cps.vo; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer; import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.time.LocalDate; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/OffDaySearchVO.class */ public class OffDaySearchVO implements Serializable { private static final long serialVersionUID = -4661770018762392643L; @JsonSerialize(using = LocalDateSerializer.class) @JsonDeserialize(using = LocalDateDeserializer.class) @ApiModelProperty("休息日-开始") private LocalDate startOffDay; @JsonSerialize(using = LocalDateSerializer.class) @JsonDeserialize(using = LocalDateDeserializer.class) @ApiModelProperty("休息日-结束") private LocalDate endOffDay; @ApiModelProperty("年份") private Integer year; @JsonDeserialize(using = LocalDateDeserializer.class) public void setStartOffDay(final LocalDate startOffDay) { this.startOffDay = startOffDay; } @JsonDeserialize(using = LocalDateDeserializer.class) public void setEndOffDay(final LocalDate endOffDay) { this.endOffDay = endOffDay; } public void setYear(final Integer year) { this.year = year; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof OffDaySearchVO) { OffDaySearchVO other = (OffDaySearchVO) o; if (other.canEqual(this)) { Object this$year = getYear(); Object other$year = other.getYear(); if (this$year == null) { if (other$year != null) { return false; } } else if (!this$year.equals(other$year)) { return false; } Object this$startOffDay = getStartOffDay(); Object other$startOffDay = other.getStartOffDay(); if (this$startOffDay == null) { if (other$startOffDay != null) { return false; } } else if (!this$startOffDay.equals(other$startOffDay)) { return false; } Object this$endOffDay = getEndOffDay(); Object other$endOffDay = other.getEndOffDay(); return this$endOffDay == null ? other$endOffDay == null : this$endOffDay.equals(other$endOffDay); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof OffDaySearchVO; } public int hashCode() { Object $year = getYear(); int result = (1 * 59) + ($year == null ? 43 : $year.hashCode()); Object $startOffDay = getStartOffDay(); int result2 = (result * 59) + ($startOffDay == null ? 43 : $startOffDay.hashCode()); Object $endOffDay = getEndOffDay(); return (result2 * 59) + ($endOffDay == null ? 43 : $endOffDay.hashCode()); } public String toString() { return "OffDaySearchVO(startOffDay=" + getStartOffDay() + ", endOffDay=" + getEndOffDay() + ", year=" + getYear() + ")"; } public LocalDate getStartOffDay() { return this.startOffDay; } public LocalDate getEndOffDay() { return this.endOffDay; } public Integer getYear() { return this.year; } }