package com.qianwen.smartman.modules.system.vo; import java.util.Random; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/vo/WorkStationStatusVO.class */ public class WorkStationStatusVO implements ICard { public static String[] colors = {"#73D13D", "#FFC53D", "#40A9FF", "#FF4D4F", "#595959"}; private String name; private String status; private String param1; private String param2; private String param3; private String param4; private String param5; private String param6; public WorkStationStatusVO setName(final String name) { this.name = name; return this; } public WorkStationStatusVO setStatus(final String status) { this.status = status; return this; } public WorkStationStatusVO setParam1(final String param1) { this.param1 = param1; return this; } public WorkStationStatusVO setParam2(final String param2) { this.param2 = param2; return this; } public WorkStationStatusVO setParam3(final String param3) { this.param3 = param3; return this; } public WorkStationStatusVO setParam4(final String param4) { this.param4 = param4; return this; } public WorkStationStatusVO setParam5(final String param5) { this.param5 = param5; return this; } public WorkStationStatusVO setParam6(final String param6) { this.param6 = param6; return this; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof WorkStationStatusVO) { WorkStationStatusVO other = (WorkStationStatusVO) o; if (other.canEqual(this)) { Object this$name = getName(); Object other$name = other.getName(); if (this$name == null) { if (other$name != null) { return false; } } else if (!this$name.equals(other$name)) { return false; } 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$param1 = getParam1(); Object other$param1 = other.getParam1(); if (this$param1 == null) { if (other$param1 != null) { return false; } } else if (!this$param1.equals(other$param1)) { return false; } Object this$param2 = getParam2(); Object other$param2 = other.getParam2(); if (this$param2 == null) { if (other$param2 != null) { return false; } } else if (!this$param2.equals(other$param2)) { return false; } Object this$param3 = getParam3(); Object other$param3 = other.getParam3(); if (this$param3 == null) { if (other$param3 != null) { return false; } } else if (!this$param3.equals(other$param3)) { return false; } Object this$param4 = getParam4(); Object other$param4 = other.getParam4(); if (this$param4 == null) { if (other$param4 != null) { return false; } } else if (!this$param4.equals(other$param4)) { return false; } Object this$param5 = getParam5(); Object other$param5 = other.getParam5(); if (this$param5 == null) { if (other$param5 != null) { return false; } } else if (!this$param5.equals(other$param5)) { return false; } Object this$param6 = getParam6(); Object other$param6 = other.getParam6(); return this$param6 == null ? other$param6 == null : this$param6.equals(other$param6); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof WorkStationStatusVO; } public int hashCode() { Object $name = getName(); int result = (1 * 59) + ($name == null ? 43 : $name.hashCode()); Object $status = getStatus(); int result2 = (result * 59) + ($status == null ? 43 : $status.hashCode()); Object $param1 = getParam1(); int result3 = (result2 * 59) + ($param1 == null ? 43 : $param1.hashCode()); Object $param2 = getParam2(); int result4 = (result3 * 59) + ($param2 == null ? 43 : $param2.hashCode()); Object $param3 = getParam3(); int result5 = (result4 * 59) + ($param3 == null ? 43 : $param3.hashCode()); Object $param4 = getParam4(); int result6 = (result5 * 59) + ($param4 == null ? 43 : $param4.hashCode()); Object $param5 = getParam5(); int result7 = (result6 * 59) + ($param5 == null ? 43 : $param5.hashCode()); Object $param6 = getParam6(); return (result7 * 59) + ($param6 == null ? 43 : $param6.hashCode()); } public String toString() { return "WorkStationStatusVO(name=" + getName() + ", status=" + getStatus() + ", param1=" + getParam1() + ", param2=" + getParam2() + ", param3=" + getParam3() + ", param4=" + getParam4() + ", param5=" + getParam5() + ", param6=" + getParam6() + ")"; } public String getName() { return this.name; } public String getStatus() { return this.status; } public String getParam1() { return this.param1; } public String getParam2() { return this.param2; } public String getParam3() { return this.param3; } public String getParam4() { return this.param4; } public String getParam5() { return this.param5; } public String getParam6() { return this.param6; } @Override // org.springblade.modules.system.vo.ICard public String getCardTitle() { return this.name; } @Override // org.springblade.modules.system.vo.ICard public String getBkColor() { return colors[new Random().nextInt(4)]; } @Override // org.springblade.modules.system.vo.ICard public String getBkImage() { return "https://v.masterlink-cps.cn/img/back.fe9da7a5.png"; } @Override // org.springblade.modules.system.vo.ICard public String getStatusCode() { return null; } }