package com.qianwen.smartman.modules.system.vo;
|
|
import java.util.ArrayList;
|
import java.util.List;
|
import com.qianwen.smartman.modules.system.entity.SeriesItem;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/vo/ChartGanttStatusDataVO.class */
|
public class ChartGanttStatusDataVO {
|
private List<ColorStatus> colorStatusInfo;
|
private List<SeriesItem<GanttStatusVO>> series;
|
|
public void setColorStatusInfo(final List<ColorStatus> colorStatusInfo) {
|
this.colorStatusInfo = colorStatusInfo;
|
}
|
|
public void setSeries(final List<SeriesItem<GanttStatusVO>> series) {
|
this.series = series;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ChartGanttStatusDataVO) {
|
ChartGanttStatusDataVO other = (ChartGanttStatusDataVO) o;
|
if (other.canEqual(this)) {
|
Object this$colorStatusInfo = getColorStatusInfo();
|
Object other$colorStatusInfo = other.getColorStatusInfo();
|
if (this$colorStatusInfo == null) {
|
if (other$colorStatusInfo != null) {
|
return false;
|
}
|
} else if (!this$colorStatusInfo.equals(other$colorStatusInfo)) {
|
return false;
|
}
|
Object this$series = getSeries();
|
Object other$series = other.getSeries();
|
return this$series == null ? other$series == null : this$series.equals(other$series);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ChartGanttStatusDataVO;
|
}
|
|
public int hashCode() {
|
Object $colorStatusInfo = getColorStatusInfo();
|
int result = (1 * 59) + ($colorStatusInfo == null ? 43 : $colorStatusInfo.hashCode());
|
Object $series = getSeries();
|
return (result * 59) + ($series == null ? 43 : $series.hashCode());
|
}
|
|
public String toString() {
|
return "ChartGanttStatusDataVO(colorStatusInfo=" + getColorStatusInfo() + ", series=" + getSeries() + ")";
|
}
|
|
public ChartGanttStatusDataVO(final List<ColorStatus> colorStatusInfo, final List<SeriesItem<GanttStatusVO>> series) {
|
this.colorStatusInfo = new ArrayList();
|
this.colorStatusInfo = colorStatusInfo;
|
this.series = series;
|
}
|
|
public ChartGanttStatusDataVO() {
|
this.colorStatusInfo = new ArrayList();
|
}
|
|
public List<ColorStatus> getColorStatusInfo() {
|
return this.colorStatusInfo;
|
}
|
|
public List<SeriesItem<GanttStatusVO>> getSeries() {
|
return this.series;
|
}
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/vo/ChartGanttStatusDataVO$ColorStatus.class */
|
public static class ColorStatus {
|
private String color;
|
private Integer status;
|
private String statusName;
|
|
public void setColor(final String color) {
|
this.color = color;
|
}
|
|
public void setStatus(final Integer status) {
|
this.status = status;
|
}
|
|
public void setStatusName(final String statusName) {
|
this.statusName = statusName;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ColorStatus) {
|
ColorStatus other = (ColorStatus) o;
|
if (other.canEqual(this)) {
|
Object this$status = getStatus();
|
Object other$status = other.getStatus();
|
if (this$status == null) {
|
if (other$status != null) {
|
return false;
|
}
|
} else if (!this$status.equals(other$status)) {
|
return false;
|
}
|
Object this$color = getColor();
|
Object other$color = other.getColor();
|
if (this$color == null) {
|
if (other$color != null) {
|
return false;
|
}
|
} else if (!this$color.equals(other$color)) {
|
return false;
|
}
|
Object this$statusName = getStatusName();
|
Object other$statusName = other.getStatusName();
|
return this$statusName == null ? other$statusName == null : this$statusName.equals(other$statusName);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ColorStatus;
|
}
|
|
public int hashCode() {
|
Object $status = getStatus();
|
int result = (1 * 59) + ($status == null ? 43 : $status.hashCode());
|
Object $color = getColor();
|
int result2 = (result * 59) + ($color == null ? 43 : $color.hashCode());
|
Object $statusName = getStatusName();
|
return (result2 * 59) + ($statusName == null ? 43 : $statusName.hashCode());
|
}
|
|
public String toString() {
|
return "ChartGanttStatusDataVO.ColorStatus(color=" + getColor() + ", status=" + getStatus() + ", statusName=" + getStatusName() + ")";
|
}
|
|
public ColorStatus(final String color, final Integer status, final String statusName) {
|
this.color = color;
|
this.status = status;
|
this.statusName = statusName;
|
}
|
|
public ColorStatus() {
|
}
|
|
public String getColor() {
|
return this.color;
|
}
|
|
public Integer getStatus() {
|
return this.status;
|
}
|
|
public String getStatusName() {
|
return this.statusName;
|
}
|
}
|
|
public void addColorStatus(String color, int status, String statusName) {
|
ColorStatus colorStatus = new ColorStatus(color, Integer.valueOf(status), statusName);
|
this.colorStatusInfo.add(colorStatus);
|
}
|
}
|