package com.qianwen.smartman.modules.visual.dto;
|
|
import java.time.LocalDateTime;
|
import java.util.List;
|
import javax.annotation.Nullable;
|
import javax.validation.constraints.NotNull;
|
import com.qianwen.smartman.modules.cps.entity.Workstation;
|
import com.qianwen.smartman.modules.mdc.entity.SuperAggregateOutput;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/visual/dto/DynamicCountDateAggregateDTO.class */
|
public class DynamicCountDateAggregateDTO {
|
@NotNull
|
private List<SuperAggregateOutput> list;
|
@Nullable
|
private LocalDateTime startTime;
|
@Nullable
|
private LocalDateTime endTime;
|
@NotNull
|
private List<Workstation> workstationList;
|
|
public void setList(final List<SuperAggregateOutput> list) {
|
this.list = list;
|
}
|
|
public void setStartTime(@Nullable final LocalDateTime startTime) {
|
this.startTime = startTime;
|
}
|
|
public void setEndTime(@Nullable final LocalDateTime endTime) {
|
this.endTime = endTime;
|
}
|
|
public void setWorkstationList(final List<Workstation> workstationList) {
|
this.workstationList = workstationList;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof DynamicCountDateAggregateDTO) {
|
DynamicCountDateAggregateDTO other = (DynamicCountDateAggregateDTO) o;
|
if (other.canEqual(this)) {
|
Object this$list = getList();
|
Object other$list = other.getList();
|
if (this$list == null) {
|
if (other$list != null) {
|
return false;
|
}
|
} else if (!this$list.equals(other$list)) {
|
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();
|
if (this$endTime == null) {
|
if (other$endTime != null) {
|
return false;
|
}
|
} else if (!this$endTime.equals(other$endTime)) {
|
return false;
|
}
|
Object this$workstationList = getWorkstationList();
|
Object other$workstationList = other.getWorkstationList();
|
return this$workstationList == null ? other$workstationList == null : this$workstationList.equals(other$workstationList);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof DynamicCountDateAggregateDTO;
|
}
|
|
public int hashCode() {
|
Object $list = getList();
|
int result = (1 * 59) + ($list == null ? 43 : $list.hashCode());
|
Object $startTime = getStartTime();
|
int result2 = (result * 59) + ($startTime == null ? 43 : $startTime.hashCode());
|
Object $endTime = getEndTime();
|
int result3 = (result2 * 59) + ($endTime == null ? 43 : $endTime.hashCode());
|
Object $workstationList = getWorkstationList();
|
return (result3 * 59) + ($workstationList == null ? 43 : $workstationList.hashCode());
|
}
|
|
public String toString() {
|
return "DynamicCountDateAggregateDTO(list=" + getList() + ", startTime=" + getStartTime() + ", endTime=" + getEndTime() + ", workstationList=" + getWorkstationList() + ")";
|
}
|
|
public DynamicCountDateAggregateDTO(final List<SuperAggregateOutput> list, @Nullable final LocalDateTime startTime, @Nullable final LocalDateTime endTime, final List<Workstation> workstationList) {
|
this.list = list;
|
this.startTime = startTime;
|
this.endTime = endTime;
|
this.workstationList = workstationList;
|
}
|
|
public DynamicCountDateAggregateDTO() {
|
}
|
|
public List<SuperAggregateOutput> getList() {
|
return this.list;
|
}
|
|
@Nullable
|
public LocalDateTime getStartTime() {
|
return this.startTime;
|
}
|
|
@Nullable
|
public LocalDateTime getEndTime() {
|
return this.endTime;
|
}
|
|
public List<Workstation> getWorkstationList() {
|
return this.workstationList;
|
}
|
}
|