package com.qianwen.smartman.modules.cps.vo; 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 WorkstationSubmitVO implements Serializable { private static final long serialVersionUID = -8938927851683015090L; @ApiModelProperty("工位图片地址") public String avatar; @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty("主键") private Long id; @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty("工位组id") private Long groupId; @ApiModelProperty("组别") private String groupType; @ApiModelProperty("组子类") private Integer groupCategory; @ApiModelProperty("工位编号") private String code; @ApiModelProperty("工位名称") private String name; @ApiModelProperty("工位类型:机器、人工") private Integer type; @ApiModelProperty("生产日历编码") private String calendarCode; @ApiModelProperty("待生效生产日历编号") private String calendarCodeWaiting; @ApiModelProperty("关联设备方式, 0-选择设备 1-创建同名设备") private Integer linkWay; @ApiModelProperty("扩展id") private String extendId; @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty("机器id") private Long machineId; @ApiModelProperty("机器编号") private String machineCode; @ApiModelProperty("机器名称") private String machineName; @ApiModelProperty("机器PIN码") private String machinePinCode; @ApiModelProperty("机器短编号") private String machineShortCode; @ApiModelProperty("机器品牌") private String machineBrand; @ApiModelProperty("采集开关:0关/1开") private Integer collectSwitch; @ApiModelProperty("工位设备类型 1-打标设备、2-测量设备、3-清洗设备、4-装卸站、5-加工设备、6-搬运设备、7-三坐标、0-其他") private Integer deviceType; @ApiModelProperty("加工属性 0:单主轴加工 1:双主轴加工") private Integer properties; @ApiModelProperty("工作台集合") private List workbenchVOList; @ApiModelProperty("FTP:1 关联目录 2 创建同名目录") private Integer ftpDirectoryType; @ApiModelProperty("关联FTP目录id") private String directoryId; @ApiModelProperty("状态:1 启用 0 停用") private Integer status; @ApiModelProperty("程序传输方式 1FTP 2串口") private Integer transmissionMethod; @ApiModelProperty("权限") private Long createDept; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/WorkstationSubmitVO$WorkstationSubmitVOBuilder.class */ public static class WorkstationSubmitVOBuilder { private String avatar; private Long id; private Long groupId; private String groupType; private Integer groupCategory; private String code; private String name; private Integer type; private String calendarCode; private String calendarCodeWaiting; private Integer linkWay; private String extendId; private Long machineId; private String machineCode; private String machineName; private String machinePinCode; private String machineShortCode; private String machineBrand; private Integer collectSwitch; private Integer deviceType; private Integer properties; private List workbenchVOList; private Integer ftpDirectoryType; private String directoryId; private Integer status; private Integer transmissionMethod; private Long createDept; WorkstationSubmitVOBuilder() { } public WorkstationSubmitVOBuilder avatar(final String avatar) { this.avatar = avatar; return this; } public WorkstationSubmitVOBuilder id(final Long id) { this.id = id; return this; } public WorkstationSubmitVOBuilder groupId(final Long groupId) { this.groupId = groupId; return this; } public WorkstationSubmitVOBuilder groupType(final String groupType) { this.groupType = groupType; return this; } public WorkstationSubmitVOBuilder groupCategory(final Integer groupCategory) { this.groupCategory = groupCategory; return this; } public WorkstationSubmitVOBuilder code(final String code) { this.code = code; return this; } public WorkstationSubmitVOBuilder name(final String name) { this.name = name; return this; } public WorkstationSubmitVOBuilder type(final Integer type) { this.type = type; return this; } public WorkstationSubmitVOBuilder calendarCode(final String calendarCode) { this.calendarCode = calendarCode; return this; } public WorkstationSubmitVOBuilder calendarCodeWaiting(final String calendarCodeWaiting) { this.calendarCodeWaiting = calendarCodeWaiting; return this; } public WorkstationSubmitVOBuilder linkWay(final Integer linkWay) { this.linkWay = linkWay; return this; } public WorkstationSubmitVOBuilder extendId(final String extendId) { this.extendId = extendId; return this; } public WorkstationSubmitVOBuilder machineId(final Long machineId) { this.machineId = machineId; return this; } public WorkstationSubmitVOBuilder machineCode(final String machineCode) { this.machineCode = machineCode; return this; } public WorkstationSubmitVOBuilder machineName(final String machineName) { this.machineName = machineName; return this; } public WorkstationSubmitVOBuilder machinePinCode(final String machinePinCode) { this.machinePinCode = machinePinCode; return this; } public WorkstationSubmitVOBuilder machineShortCode(final String machineShortCode) { this.machineShortCode = machineShortCode; return this; } public WorkstationSubmitVOBuilder machineBrand(final String machineBrand) { this.machineBrand = machineBrand; return this; } public WorkstationSubmitVOBuilder collectSwitch(final Integer collectSwitch) { this.collectSwitch = collectSwitch; return this; } public WorkstationSubmitVOBuilder deviceType(final Integer deviceType) { this.deviceType = deviceType; return this; } public WorkstationSubmitVOBuilder properties(final Integer properties) { this.properties = properties; return this; } public WorkstationSubmitVOBuilder workbenchVOList(final List workbenchVOList) { this.workbenchVOList = workbenchVOList; return this; } public WorkstationSubmitVOBuilder ftpDirectoryType(final Integer ftpDirectoryType) { this.ftpDirectoryType = ftpDirectoryType; return this; } public WorkstationSubmitVOBuilder directoryId(final String directoryId) { this.directoryId = directoryId; return this; } public WorkstationSubmitVOBuilder status(final Integer status) { this.status = status; return this; } public WorkstationSubmitVOBuilder transmissionMethod(final Integer transmissionMethod) { this.transmissionMethod = transmissionMethod; return this; } public WorkstationSubmitVOBuilder createDept(final Long createDept) { this.createDept = createDept; return this; } public WorkstationSubmitVO build() { return new WorkstationSubmitVO(this.avatar, this.id, this.groupId, this.groupType, this.groupCategory, this.code, this.name, this.type, this.calendarCode, this.calendarCodeWaiting, this.linkWay, this.extendId, this.machineId, this.machineCode, this.machineName, this.machinePinCode, this.machineShortCode, this.machineBrand, this.collectSwitch, this.deviceType, this.properties, this.workbenchVOList, this.ftpDirectoryType, this.directoryId, this.status, this.transmissionMethod, this.createDept); } public String toString() { return "WorkstationSubmitVO.WorkstationSubmitVOBuilder(avatar=" + this.avatar + ", id=" + this.id + ", groupId=" + this.groupId + ", groupType=" + this.groupType + ", groupCategory=" + this.groupCategory + ", code=" + this.code + ", name=" + this.name + ", type=" + this.type + ", calendarCode=" + this.calendarCode + ", calendarCodeWaiting=" + this.calendarCodeWaiting + ", linkWay=" + this.linkWay + ", extendId=" + this.extendId + ", machineId=" + this.machineId + ", machineCode=" + this.machineCode + ", machineName=" + this.machineName + ", machinePinCode=" + this.machinePinCode + ", machineShortCode=" + this.machineShortCode + ", machineBrand=" + this.machineBrand + ", collectSwitch=" + this.collectSwitch + ", deviceType=" + this.deviceType + ", properties=" + this.properties + ", workbenchVOList=" + this.workbenchVOList + ", ftpDirectoryType=" + this.ftpDirectoryType + ", directoryId=" + this.directoryId + ", status=" + this.status + ", transmissionMethod=" + this.transmissionMethod + ", createDept=" + this.createDept + ")"; } } public void setAvatar(final String avatar) { this.avatar = avatar; } public void setId(final Long id) { this.id = id; } public void setGroupId(final Long groupId) { this.groupId = groupId; } public void setGroupType(final String groupType) { this.groupType = groupType; } public void setGroupCategory(final Integer groupCategory) { this.groupCategory = groupCategory; } public void setCode(final String code) { this.code = code; } public void setName(final String name) { this.name = name; } public void setType(final Integer type) { this.type = type; } public void setCalendarCode(final String calendarCode) { this.calendarCode = calendarCode; } public void setCalendarCodeWaiting(final String calendarCodeWaiting) { this.calendarCodeWaiting = calendarCodeWaiting; } public void setLinkWay(final Integer linkWay) { this.linkWay = linkWay; } public void setExtendId(final String extendId) { this.extendId = extendId; } 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 setMachinePinCode(final String machinePinCode) { this.machinePinCode = machinePinCode; } public void setMachineShortCode(final String machineShortCode) { this.machineShortCode = machineShortCode; } public void setMachineBrand(final String machineBrand) { this.machineBrand = machineBrand; } public void setCollectSwitch(final Integer collectSwitch) { this.collectSwitch = collectSwitch; } public void setDeviceType(final Integer deviceType) { this.deviceType = deviceType; } public void setProperties(final Integer properties) { this.properties = properties; } public void setWorkbenchVOList(final List workbenchVOList) { this.workbenchVOList = workbenchVOList; } public void setFtpDirectoryType(final Integer ftpDirectoryType) { this.ftpDirectoryType = ftpDirectoryType; } public void setDirectoryId(final String directoryId) { this.directoryId = directoryId; } public void setStatus(final Integer status) { this.status = status; } public void setTransmissionMethod(final Integer transmissionMethod) { this.transmissionMethod = transmissionMethod; } public void setCreateDept(final Long createDept) { this.createDept = createDept; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof WorkstationSubmitVO) { WorkstationSubmitVO other = (WorkstationSubmitVO) 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$groupCategory = getGroupCategory(); Object other$groupCategory = other.getGroupCategory(); if (this$groupCategory == null) { if (other$groupCategory != null) { return false; } } else if (!this$groupCategory.equals(other$groupCategory)) { return false; } Object this$type = getType(); Object other$type = other.getType(); if (this$type == null) { if (other$type != null) { return false; } } else if (!this$type.equals(other$type)) { return false; } Object this$linkWay = getLinkWay(); Object other$linkWay = other.getLinkWay(); if (this$linkWay == null) { if (other$linkWay != null) { return false; } } else if (!this$linkWay.equals(other$linkWay)) { 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$collectSwitch = getCollectSwitch(); Object other$collectSwitch = other.getCollectSwitch(); if (this$collectSwitch == null) { if (other$collectSwitch != null) { return false; } } else if (!this$collectSwitch.equals(other$collectSwitch)) { return false; } Object this$deviceType = getDeviceType(); Object other$deviceType = other.getDeviceType(); if (this$deviceType == null) { if (other$deviceType != null) { return false; } } else if (!this$deviceType.equals(other$deviceType)) { 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$ftpDirectoryType = getFtpDirectoryType(); Object other$ftpDirectoryType = other.getFtpDirectoryType(); if (this$ftpDirectoryType == null) { if (other$ftpDirectoryType != null) { return false; } } else if (!this$ftpDirectoryType.equals(other$ftpDirectoryType)) { 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$transmissionMethod = getTransmissionMethod(); Object other$transmissionMethod = other.getTransmissionMethod(); if (this$transmissionMethod == null) { if (other$transmissionMethod != null) { return false; } } else if (!this$transmissionMethod.equals(other$transmissionMethod)) { 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$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$groupType = getGroupType(); Object other$groupType = other.getGroupType(); if (this$groupType == null) { if (other$groupType != null) { return false; } } else if (!this$groupType.equals(other$groupType)) { 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$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$calendarCodeWaiting = getCalendarCodeWaiting(); Object other$calendarCodeWaiting = other.getCalendarCodeWaiting(); if (this$calendarCodeWaiting == null) { if (other$calendarCodeWaiting != null) { return false; } } else if (!this$calendarCodeWaiting.equals(other$calendarCodeWaiting)) { return false; } Object this$extendId = getExtendId(); Object other$extendId = other.getExtendId(); if (this$extendId == null) { if (other$extendId != null) { return false; } } else if (!this$extendId.equals(other$extendId)) { 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$machinePinCode = getMachinePinCode(); Object other$machinePinCode = other.getMachinePinCode(); if (this$machinePinCode == null) { if (other$machinePinCode != null) { return false; } } else if (!this$machinePinCode.equals(other$machinePinCode)) { return false; } Object this$machineShortCode = getMachineShortCode(); Object other$machineShortCode = other.getMachineShortCode(); if (this$machineShortCode == null) { if (other$machineShortCode != null) { return false; } } else if (!this$machineShortCode.equals(other$machineShortCode)) { 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$workbenchVOList = getWorkbenchVOList(); Object other$workbenchVOList = other.getWorkbenchVOList(); if (this$workbenchVOList == null) { if (other$workbenchVOList != null) { return false; } } else if (!this$workbenchVOList.equals(other$workbenchVOList)) { return false; } Object this$directoryId = getDirectoryId(); Object other$directoryId = other.getDirectoryId(); return this$directoryId == null ? other$directoryId == null : this$directoryId.equals(other$directoryId); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof WorkstationSubmitVO; } 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 $groupCategory = getGroupCategory(); int result3 = (result2 * 59) + ($groupCategory == null ? 43 : $groupCategory.hashCode()); Object $type = getType(); int result4 = (result3 * 59) + ($type == null ? 43 : $type.hashCode()); Object $linkWay = getLinkWay(); int result5 = (result4 * 59) + ($linkWay == null ? 43 : $linkWay.hashCode()); Object $machineId = getMachineId(); int result6 = (result5 * 59) + ($machineId == null ? 43 : $machineId.hashCode()); Object $collectSwitch = getCollectSwitch(); int result7 = (result6 * 59) + ($collectSwitch == null ? 43 : $collectSwitch.hashCode()); Object $deviceType = getDeviceType(); int result8 = (result7 * 59) + ($deviceType == null ? 43 : $deviceType.hashCode()); Object $properties = getProperties(); int result9 = (result8 * 59) + ($properties == null ? 43 : $properties.hashCode()); Object $ftpDirectoryType = getFtpDirectoryType(); int result10 = (result9 * 59) + ($ftpDirectoryType == null ? 43 : $ftpDirectoryType.hashCode()); Object $status = getStatus(); int result11 = (result10 * 59) + ($status == null ? 43 : $status.hashCode()); Object $transmissionMethod = getTransmissionMethod(); int result12 = (result11 * 59) + ($transmissionMethod == null ? 43 : $transmissionMethod.hashCode()); Object $createDept = getCreateDept(); int result13 = (result12 * 59) + ($createDept == null ? 43 : $createDept.hashCode()); Object $avatar = getAvatar(); int result14 = (result13 * 59) + ($avatar == null ? 43 : $avatar.hashCode()); Object $groupType = getGroupType(); int result15 = (result14 * 59) + ($groupType == null ? 43 : $groupType.hashCode()); Object $code = getCode(); int result16 = (result15 * 59) + ($code == null ? 43 : $code.hashCode()); Object $name = getName(); int result17 = (result16 * 59) + ($name == null ? 43 : $name.hashCode()); Object $calendarCode = getCalendarCode(); int result18 = (result17 * 59) + ($calendarCode == null ? 43 : $calendarCode.hashCode()); Object $calendarCodeWaiting = getCalendarCodeWaiting(); int result19 = (result18 * 59) + ($calendarCodeWaiting == null ? 43 : $calendarCodeWaiting.hashCode()); Object $extendId = getExtendId(); int result20 = (result19 * 59) + ($extendId == null ? 43 : $extendId.hashCode()); Object $machineCode = getMachineCode(); int result21 = (result20 * 59) + ($machineCode == null ? 43 : $machineCode.hashCode()); Object $machineName = getMachineName(); int result22 = (result21 * 59) + ($machineName == null ? 43 : $machineName.hashCode()); Object $machinePinCode = getMachinePinCode(); int result23 = (result22 * 59) + ($machinePinCode == null ? 43 : $machinePinCode.hashCode()); Object $machineShortCode = getMachineShortCode(); int result24 = (result23 * 59) + ($machineShortCode == null ? 43 : $machineShortCode.hashCode()); Object $machineBrand = getMachineBrand(); int result25 = (result24 * 59) + ($machineBrand == null ? 43 : $machineBrand.hashCode()); Object $workbenchVOList = getWorkbenchVOList(); int result26 = (result25 * 59) + ($workbenchVOList == null ? 43 : $workbenchVOList.hashCode()); Object $directoryId = getDirectoryId(); return (result26 * 59) + ($directoryId == null ? 43 : $directoryId.hashCode()); } public String toString() { return "WorkstationSubmitVO(avatar=" + getAvatar() + ", id=" + getId() + ", groupId=" + getGroupId() + ", groupType=" + getGroupType() + ", groupCategory=" + getGroupCategory() + ", code=" + getCode() + ", name=" + getName() + ", type=" + getType() + ", calendarCode=" + getCalendarCode() + ", calendarCodeWaiting=" + getCalendarCodeWaiting() + ", linkWay=" + getLinkWay() + ", extendId=" + getExtendId() + ", machineId=" + getMachineId() + ", machineCode=" + getMachineCode() + ", machineName=" + getMachineName() + ", machinePinCode=" + getMachinePinCode() + ", machineShortCode=" + getMachineShortCode() + ", machineBrand=" + getMachineBrand() + ", collectSwitch=" + getCollectSwitch() + ", deviceType=" + getDeviceType() + ", properties=" + getProperties() + ", workbenchVOList=" + getWorkbenchVOList() + ", ftpDirectoryType=" + getFtpDirectoryType() + ", directoryId=" + getDirectoryId() + ", status=" + getStatus() + ", transmissionMethod=" + getTransmissionMethod() + ", createDept=" + getCreateDept() + ")"; } public static WorkstationSubmitVOBuilder builder() { return new WorkstationSubmitVOBuilder(); } public WorkstationSubmitVO(final String avatar, final Long id, final Long groupId, final String groupType, final Integer groupCategory, final String code, final String name, final Integer type, final String calendarCode, final String calendarCodeWaiting, final Integer linkWay, final String extendId, final Long machineId, final String machineCode, final String machineName, final String machinePinCode, final String machineShortCode, final String machineBrand, final Integer collectSwitch, final Integer deviceType, final Integer properties, final List workbenchVOList, final Integer ftpDirectoryType, final String directoryId, final Integer status, final Integer transmissionMethod, final Long createDept) { this.avatar = avatar; this.id = id; this.groupId = groupId; this.groupType = groupType; this.groupCategory = groupCategory; this.code = code; this.name = name; this.type = type; this.calendarCode = calendarCode; this.calendarCodeWaiting = calendarCodeWaiting; this.linkWay = linkWay; this.extendId = extendId; this.machineId = machineId; this.machineCode = machineCode; this.machineName = machineName; this.machinePinCode = machinePinCode; this.machineShortCode = machineShortCode; this.machineBrand = machineBrand; this.collectSwitch = collectSwitch; this.deviceType = deviceType; this.properties = properties; this.workbenchVOList = workbenchVOList; this.ftpDirectoryType = ftpDirectoryType; this.directoryId = directoryId; this.status = status; this.transmissionMethod = transmissionMethod; this.createDept = createDept; } public WorkstationSubmitVO() { } public String getAvatar() { return this.avatar; } public Long getId() { return this.id; } public Long getGroupId() { return this.groupId; } public String getGroupType() { return this.groupType; } public Integer getGroupCategory() { return this.groupCategory; } public String getCode() { return this.code; } public String getName() { return this.name; } public Integer getType() { return this.type; } public String getCalendarCode() { return this.calendarCode; } public String getCalendarCodeWaiting() { return this.calendarCodeWaiting; } public Integer getLinkWay() { return this.linkWay; } public String getExtendId() { return this.extendId; } public Long getMachineId() { return this.machineId; } public String getMachineCode() { return this.machineCode; } public String getMachineName() { return this.machineName; } public String getMachinePinCode() { return this.machinePinCode; } public String getMachineShortCode() { return this.machineShortCode; } public String getMachineBrand() { return this.machineBrand; } public Integer getCollectSwitch() { return this.collectSwitch; } public Integer getDeviceType() { return this.deviceType; } public Integer getProperties() { return this.properties; } public List getWorkbenchVOList() { return this.workbenchVOList; } public Integer getFtpDirectoryType() { return this.ftpDirectoryType; } public String getDirectoryId() { return this.directoryId; } public Integer getStatus() { return this.status; } public Integer getTransmissionMethod() { return this.transmissionMethod; } public Long getCreateDept() { return this.createDept; } }