package com.qianwen.smartman.modules.cps.vo; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.List; public class WorkstationRealTimeStatusVO implements Serializable { @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty(value = "工位id", dataType = "Long") private Long id; @ApiModelProperty("工位名称") private String code; @ApiModelProperty("工位名称") private String name; @ApiModelProperty("工位图片") private String avatar; @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty("工位组id") private Long groupId; @ApiModelProperty("工位组名称") private String groupName; @ApiModelProperty("生产日历编码") private String calendarCode; @ApiModelProperty("生产日历名称") private String calendarName; @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty("机器Id") private Long machineId; @ApiModelProperty("机器编号") private String machineCode; @ApiModelProperty("机器名称") private String machineName; @ApiModelProperty("机器品牌") private String machineBrand; @ApiModelProperty("实时数据") List properties; @JsonIgnore private String createDept; @JsonIgnore private String createUser; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/WorkstationRealTimeStatusVO$WorkstationRealTimeStatusVOBuilder.class */ public static class WorkstationRealTimeStatusVOBuilder { private Long id; private String code; private String name; private String avatar; private Long groupId; private String groupName; private String calendarCode; private String calendarName; private Long machineId; private String machineCode; private String machineName; private String machineBrand; private List properties; private String createDept; private String createUser; WorkstationRealTimeStatusVOBuilder() { } public WorkstationRealTimeStatusVOBuilder id(final Long id) { this.id = id; return this; } public WorkstationRealTimeStatusVOBuilder code(final String code) { this.code = code; return this; } public WorkstationRealTimeStatusVOBuilder name(final String name) { this.name = name; return this; } public WorkstationRealTimeStatusVOBuilder avatar(final String avatar) { this.avatar = avatar; return this; } public WorkstationRealTimeStatusVOBuilder groupId(final Long groupId) { this.groupId = groupId; return this; } public WorkstationRealTimeStatusVOBuilder groupName(final String groupName) { this.groupName = groupName; return this; } public WorkstationRealTimeStatusVOBuilder calendarCode(final String calendarCode) { this.calendarCode = calendarCode; return this; } public WorkstationRealTimeStatusVOBuilder calendarName(final String calendarName) { this.calendarName = calendarName; return this; } public WorkstationRealTimeStatusVOBuilder machineId(final Long machineId) { this.machineId = machineId; return this; } public WorkstationRealTimeStatusVOBuilder machineCode(final String machineCode) { this.machineCode = machineCode; return this; } public WorkstationRealTimeStatusVOBuilder machineName(final String machineName) { this.machineName = machineName; return this; } public WorkstationRealTimeStatusVOBuilder machineBrand(final String machineBrand) { this.machineBrand = machineBrand; return this; } public WorkstationRealTimeStatusVOBuilder properties(final List properties) { this.properties = properties; return this; } @JsonIgnore public WorkstationRealTimeStatusVOBuilder createDept(final String createDept) { this.createDept = createDept; return this; } @JsonIgnore public WorkstationRealTimeStatusVOBuilder createUser(final String createUser) { this.createUser = createUser; return this; } public WorkstationRealTimeStatusVO build() { return new WorkstationRealTimeStatusVO(this.id, this.code, this.name, this.avatar, this.groupId, this.groupName, this.calendarCode, this.calendarName, this.machineId, this.machineCode, this.machineName, this.machineBrand, this.properties, this.createDept, this.createUser); } public String toString() { return "WorkstationRealTimeStatusVO.WorkstationRealTimeStatusVOBuilder(id=" + this.id + ", code=" + this.code + ", name=" + this.name + ", avatar=" + this.avatar + ", groupId=" + this.groupId + ", groupName=" + this.groupName + ", calendarCode=" + this.calendarCode + ", calendarName=" + this.calendarName + ", machineId=" + this.machineId + ", machineCode=" + this.machineCode + ", machineName=" + this.machineName + ", machineBrand=" + this.machineBrand + ", properties=" + this.properties + ", createDept=" + this.createDept + ", createUser=" + this.createUser + ")"; } } public void setId(final Long id) { this.id = id; } public void setCode(final String code) { this.code = code; } public void setName(final String name) { this.name = name; } public void setAvatar(final String avatar) { this.avatar = avatar; } public void setGroupId(final Long groupId) { this.groupId = groupId; } public void setGroupName(final String groupName) { this.groupName = groupName; } public void setCalendarCode(final String calendarCode) { this.calendarCode = calendarCode; } public void setCalendarName(final String calendarName) { this.calendarName = calendarName; } public void setMachineId(final Long machineId) { this.machineId = machineId; } public void setMachineCode(final String machineCode) { this.machineCode = machineCode; } public void setMachineName(final String machineName) { this.machineName = machineName; } public void setMachineBrand(final String machineBrand) { this.machineBrand = machineBrand; } public void setProperties(final List properties) { this.properties = properties; } @JsonIgnore public void setCreateDept(final String createDept) { this.createDept = createDept; } @JsonIgnore public void setCreateUser(final String createUser) { this.createUser = createUser; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof WorkstationRealTimeStatusVO) { WorkstationRealTimeStatusVO other = (WorkstationRealTimeStatusVO) o; if (other.canEqual(this)) { Object this$id = getId(); Object other$id = other.getId(); if (this$id == null) { if (other$id != null) { return false; } } else if (!this$id.equals(other$id)) { return false; } Object this$groupId = getGroupId(); Object other$groupId = other.getGroupId(); if (this$groupId == null) { if (other$groupId != null) { return false; } } else if (!this$groupId.equals(other$groupId)) { return false; } Object this$machineId = getMachineId(); Object other$machineId = other.getMachineId(); if (this$machineId == null) { if (other$machineId != null) { return false; } } else if (!this$machineId.equals(other$machineId)) { return false; } Object this$code = getCode(); Object other$code = other.getCode(); if (this$code == null) { if (other$code != null) { return false; } } else if (!this$code.equals(other$code)) { return false; } 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$avatar = getAvatar(); Object other$avatar = other.getAvatar(); if (this$avatar == null) { if (other$avatar != null) { return false; } } else if (!this$avatar.equals(other$avatar)) { return false; } Object this$groupName = getGroupName(); Object other$groupName = other.getGroupName(); if (this$groupName == null) { if (other$groupName != null) { return false; } } else if (!this$groupName.equals(other$groupName)) { return false; } Object this$calendarCode = getCalendarCode(); Object other$calendarCode = other.getCalendarCode(); if (this$calendarCode == null) { if (other$calendarCode != null) { return false; } } else if (!this$calendarCode.equals(other$calendarCode)) { return false; } Object this$calendarName = getCalendarName(); Object other$calendarName = other.getCalendarName(); if (this$calendarName == null) { if (other$calendarName != null) { return false; } } else if (!this$calendarName.equals(other$calendarName)) { return false; } Object this$machineCode = getMachineCode(); Object other$machineCode = other.getMachineCode(); if (this$machineCode == null) { if (other$machineCode != null) { return false; } } else if (!this$machineCode.equals(other$machineCode)) { return false; } Object this$machineName = getMachineName(); Object other$machineName = other.getMachineName(); if (this$machineName == null) { if (other$machineName != null) { return false; } } else if (!this$machineName.equals(other$machineName)) { return false; } Object this$machineBrand = getMachineBrand(); Object other$machineBrand = other.getMachineBrand(); if (this$machineBrand == null) { if (other$machineBrand != null) { return false; } } else if (!this$machineBrand.equals(other$machineBrand)) { return false; } Object this$properties = getProperties(); Object other$properties = other.getProperties(); if (this$properties == null) { if (other$properties != null) { return false; } } else if (!this$properties.equals(other$properties)) { return false; } Object this$createDept = getCreateDept(); Object other$createDept = other.getCreateDept(); if (this$createDept == null) { if (other$createDept != null) { return false; } } else if (!this$createDept.equals(other$createDept)) { return false; } Object this$createUser = getCreateUser(); Object other$createUser = other.getCreateUser(); return this$createUser == null ? other$createUser == null : this$createUser.equals(other$createUser); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof WorkstationRealTimeStatusVO; } public int hashCode() { Object $id = getId(); int result = (1 * 59) + ($id == null ? 43 : $id.hashCode()); Object $groupId = getGroupId(); int result2 = (result * 59) + ($groupId == null ? 43 : $groupId.hashCode()); Object $machineId = getMachineId(); int result3 = (result2 * 59) + ($machineId == null ? 43 : $machineId.hashCode()); Object $code = getCode(); int result4 = (result3 * 59) + ($code == null ? 43 : $code.hashCode()); Object $name = getName(); int result5 = (result4 * 59) + ($name == null ? 43 : $name.hashCode()); Object $avatar = getAvatar(); int result6 = (result5 * 59) + ($avatar == null ? 43 : $avatar.hashCode()); Object $groupName = getGroupName(); int result7 = (result6 * 59) + ($groupName == null ? 43 : $groupName.hashCode()); Object $calendarCode = getCalendarCode(); int result8 = (result7 * 59) + ($calendarCode == null ? 43 : $calendarCode.hashCode()); Object $calendarName = getCalendarName(); int result9 = (result8 * 59) + ($calendarName == null ? 43 : $calendarName.hashCode()); Object $machineCode = getMachineCode(); int result10 = (result9 * 59) + ($machineCode == null ? 43 : $machineCode.hashCode()); Object $machineName = getMachineName(); int result11 = (result10 * 59) + ($machineName == null ? 43 : $machineName.hashCode()); Object $machineBrand = getMachineBrand(); int result12 = (result11 * 59) + ($machineBrand == null ? 43 : $machineBrand.hashCode()); Object $properties = getProperties(); int result13 = (result12 * 59) + ($properties == null ? 43 : $properties.hashCode()); Object $createDept = getCreateDept(); int result14 = (result13 * 59) + ($createDept == null ? 43 : $createDept.hashCode()); Object $createUser = getCreateUser(); return (result14 * 59) + ($createUser == null ? 43 : $createUser.hashCode()); } public String toString() { return "WorkstationRealTimeStatusVO(id=" + getId() + ", code=" + getCode() + ", name=" + getName() + ", avatar=" + getAvatar() + ", groupId=" + getGroupId() + ", groupName=" + getGroupName() + ", calendarCode=" + getCalendarCode() + ", calendarName=" + getCalendarName() + ", machineId=" + getMachineId() + ", machineCode=" + getMachineCode() + ", machineName=" + getMachineName() + ", machineBrand=" + getMachineBrand() + ", properties=" + getProperties() + ", createDept=" + getCreateDept() + ", createUser=" + getCreateUser() + ")"; } public static WorkstationRealTimeStatusVOBuilder builder() { return new WorkstationRealTimeStatusVOBuilder(); } public WorkstationRealTimeStatusVO(final Long id, final String code, final String name, final String avatar, final Long groupId, final String groupName, final String calendarCode, final String calendarName, final Long machineId, final String machineCode, final String machineName, final String machineBrand, final List properties, final String createDept, final String createUser) { this.id = id; this.code = code; this.name = name; this.avatar = avatar; this.groupId = groupId; this.groupName = groupName; this.calendarCode = calendarCode; this.calendarName = calendarName; this.machineId = machineId; this.machineCode = machineCode; this.machineName = machineName; this.machineBrand = machineBrand; this.properties = properties; this.createDept = createDept; this.createUser = createUser; } public WorkstationRealTimeStatusVO() { } public Long getId() { return this.id; } public String getCode() { return this.code; } public String getName() { return this.name; } public String getAvatar() { return this.avatar; } public Long getGroupId() { return this.groupId; } public String getGroupName() { return this.groupName; } public String getCalendarCode() { return this.calendarCode; } public String getCalendarName() { return this.calendarName; } public Long getMachineId() { return this.machineId; } public String getMachineCode() { return this.machineCode; } public String getMachineName() { return this.machineName; } public String getMachineBrand() { return this.machineBrand; } public List getProperties() { return this.properties; } public String getCreateDept() { return this.createDept; } public String getCreateUser() { return this.createUser; } }