package com.qianwen.smartman.modules.mdc.vo; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer; import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.time.LocalDateTime; import java.util.List; import javax.validation.constraints.NotNull; import com.qianwen.smartman.common.constant.DateConstant; import org.springframework.format.annotation.DateTimeFormat; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/mdc/vo/StatusRecordDateTimeSelectVO.class */ public class StatusRecordDateTimeSelectVO implements Serializable { private static final long serialVersionUID = 1; @ApiModelProperty("工位信息列表") private List workstationInfoList; @DateTimeFormat(pattern = DateConstant.PATTERN_DATE_TIME) @JsonDeserialize(using = LocalDateTimeDeserializer.class) @JsonSerialize(using = LocalDateTimeSerializer.class) @ApiModelProperty("日期") @NotNull(message = "日期不能为空") @JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME, timezone = "GMT+8") private LocalDateTime startTime; @DateTimeFormat(pattern = DateConstant.PATTERN_DATE_TIME) @JsonDeserialize(using = LocalDateTimeDeserializer.class) @JsonSerialize(using = LocalDateTimeSerializer.class) @ApiModelProperty("结束日期") @JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME, timezone = "GMT+8") private LocalDateTime endTime; public void setWorkstationInfoList(final List workstationInfoList) { this.workstationInfoList = workstationInfoList; } @JsonDeserialize(using = LocalDateTimeDeserializer.class) @JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME, timezone = "GMT+8") public void setStartTime(final LocalDateTime startTime) { this.startTime = startTime; } @JsonDeserialize(using = LocalDateTimeDeserializer.class) @JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME, timezone = "GMT+8") public void setEndTime(final LocalDateTime endTime) { this.endTime = endTime; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof StatusRecordDateTimeSelectVO) { StatusRecordDateTimeSelectVO other = (StatusRecordDateTimeSelectVO) o; if (other.canEqual(this)) { Object this$workstationInfoList = getWorkstationInfoList(); Object other$workstationInfoList = other.getWorkstationInfoList(); if (this$workstationInfoList == null) { if (other$workstationInfoList != null) { return false; } } else if (!this$workstationInfoList.equals(other$workstationInfoList)) { return false; } Object this$startTime = getStartTime(); Object other$startTime = other.getStartTime(); if (this$startTime == null) { if (other$startTime != null) { return false; } } else if (!this$startTime.equals(other$startTime)) { return false; } Object this$endTime = getEndTime(); Object other$endTime = other.getEndTime(); return this$endTime == null ? other$endTime == null : this$endTime.equals(other$endTime); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof StatusRecordDateTimeSelectVO; } public int hashCode() { Object $workstationInfoList = getWorkstationInfoList(); int result = (1 * 59) + ($workstationInfoList == null ? 43 : $workstationInfoList.hashCode()); Object $startTime = getStartTime(); int result2 = (result * 59) + ($startTime == null ? 43 : $startTime.hashCode()); Object $endTime = getEndTime(); return (result2 * 59) + ($endTime == null ? 43 : $endTime.hashCode()); } public String toString() { return "StatusRecordDateTimeSelectVO(workstationInfoList=" + getWorkstationInfoList() + ", startTime=" + getStartTime() + ", endTime=" + getEndTime() + ")"; } public List getWorkstationInfoList() { return this.workstationInfoList; } public LocalDateTime getStartTime() { return this.startTime; } public LocalDateTime getEndTime() { return this.endTime; } }