package com.qianwen.smartman.modules.smis.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.util.List;
|
import com.qianwen.smartman.modules.smis.entity.WorkstationWorkbench;
|
|
public class MachineInformationVO {
|
@ApiModelProperty(value = "工位ID", dataType = "java.lang.String")
|
private Long workstationId;
|
@ApiModelProperty("工位编号")
|
private String workstationCode;
|
@ApiModelProperty("工位名称")
|
private String workstationName;
|
@ApiModelProperty("工位图片")
|
private String avatar;
|
@ApiModelProperty("工位设备类型")
|
private Integer deviceType;
|
@ApiModelProperty("工位加工类型")
|
private Integer properties;
|
@ApiModelProperty("工作台集合")
|
private List<WorkstationWorkbench> workstationList;
|
@ApiModelProperty("程序传输方式")
|
private Integer transmissionMode;
|
@ApiModelProperty("FTP目录")
|
private String ftpCatalogue;
|
|
public void setWorkstationId(final Long workstationId) {
|
this.workstationId = workstationId;
|
}
|
|
public void setWorkstationCode(final String workstationCode) {
|
this.workstationCode = workstationCode;
|
}
|
|
public void setWorkstationName(final String workstationName) {
|
this.workstationName = workstationName;
|
}
|
|
public void setAvatar(final String avatar) {
|
this.avatar = avatar;
|
}
|
|
public void setDeviceType(final Integer deviceType) {
|
this.deviceType = deviceType;
|
}
|
|
public void setProperties(final Integer properties) {
|
this.properties = properties;
|
}
|
|
public void setWorkstationList(final List<WorkstationWorkbench> workstationList) {
|
this.workstationList = workstationList;
|
}
|
|
public void setTransmissionMode(final Integer transmissionMode) {
|
this.transmissionMode = transmissionMode;
|
}
|
|
public void setFtpCatalogue(final String ftpCatalogue) {
|
this.ftpCatalogue = ftpCatalogue;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof MachineInformationVO) {
|
MachineInformationVO other = (MachineInformationVO) o;
|
if (other.canEqual(this)) {
|
Object this$workstationId = getWorkstationId();
|
Object other$workstationId = other.getWorkstationId();
|
if (this$workstationId == null) {
|
if (other$workstationId != null) {
|
return false;
|
}
|
} else if (!this$workstationId.equals(other$workstationId)) {
|
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$transmissionMode = getTransmissionMode();
|
Object other$transmissionMode = other.getTransmissionMode();
|
if (this$transmissionMode == null) {
|
if (other$transmissionMode != null) {
|
return false;
|
}
|
} else if (!this$transmissionMode.equals(other$transmissionMode)) {
|
return false;
|
}
|
Object this$workstationCode = getWorkstationCode();
|
Object other$workstationCode = other.getWorkstationCode();
|
if (this$workstationCode == null) {
|
if (other$workstationCode != null) {
|
return false;
|
}
|
} else if (!this$workstationCode.equals(other$workstationCode)) {
|
return false;
|
}
|
Object this$workstationName = getWorkstationName();
|
Object other$workstationName = other.getWorkstationName();
|
if (this$workstationName == null) {
|
if (other$workstationName != null) {
|
return false;
|
}
|
} else if (!this$workstationName.equals(other$workstationName)) {
|
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$workstationList = getWorkstationList();
|
Object other$workstationList = other.getWorkstationList();
|
if (this$workstationList == null) {
|
if (other$workstationList != null) {
|
return false;
|
}
|
} else if (!this$workstationList.equals(other$workstationList)) {
|
return false;
|
}
|
Object this$ftpCatalogue = getFtpCatalogue();
|
Object other$ftpCatalogue = other.getFtpCatalogue();
|
return this$ftpCatalogue == null ? other$ftpCatalogue == null : this$ftpCatalogue.equals(other$ftpCatalogue);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof MachineInformationVO;
|
}
|
|
public int hashCode() {
|
Object $workstationId = getWorkstationId();
|
int result = (1 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
|
Object $deviceType = getDeviceType();
|
int result2 = (result * 59) + ($deviceType == null ? 43 : $deviceType.hashCode());
|
Object $properties = getProperties();
|
int result3 = (result2 * 59) + ($properties == null ? 43 : $properties.hashCode());
|
Object $transmissionMode = getTransmissionMode();
|
int result4 = (result3 * 59) + ($transmissionMode == null ? 43 : $transmissionMode.hashCode());
|
Object $workstationCode = getWorkstationCode();
|
int result5 = (result4 * 59) + ($workstationCode == null ? 43 : $workstationCode.hashCode());
|
Object $workstationName = getWorkstationName();
|
int result6 = (result5 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode());
|
Object $avatar = getAvatar();
|
int result7 = (result6 * 59) + ($avatar == null ? 43 : $avatar.hashCode());
|
Object $workstationList = getWorkstationList();
|
int result8 = (result7 * 59) + ($workstationList == null ? 43 : $workstationList.hashCode());
|
Object $ftpCatalogue = getFtpCatalogue();
|
return (result8 * 59) + ($ftpCatalogue == null ? 43 : $ftpCatalogue.hashCode());
|
}
|
|
public String toString() {
|
return "MachineInformationVO(workstationId=" + getWorkstationId() + ", workstationCode=" + getWorkstationCode() + ", workstationName=" + getWorkstationName() + ", avatar=" + getAvatar() + ", deviceType=" + getDeviceType() + ", properties=" + getProperties() + ", workstationList=" + getWorkstationList() + ", transmissionMode=" + getTransmissionMode() + ", ftpCatalogue=" + getFtpCatalogue() + ")";
|
}
|
|
public MachineInformationVO() {
|
}
|
|
public MachineInformationVO(final Long workstationId, final String workstationCode, final String workstationName, final String avatar, final Integer deviceType, final Integer properties, final List<WorkstationWorkbench> workstationList, final Integer transmissionMode, final String ftpCatalogue) {
|
this.workstationId = workstationId;
|
this.workstationCode = workstationCode;
|
this.workstationName = workstationName;
|
this.avatar = avatar;
|
this.deviceType = deviceType;
|
this.properties = properties;
|
this.workstationList = workstationList;
|
this.transmissionMode = transmissionMode;
|
this.ftpCatalogue = ftpCatalogue;
|
}
|
|
public Long getWorkstationId() {
|
return this.workstationId;
|
}
|
|
public String getWorkstationCode() {
|
return this.workstationCode;
|
}
|
|
public String getWorkstationName() {
|
return this.workstationName;
|
}
|
|
public String getAvatar() {
|
return this.avatar;
|
}
|
|
public Integer getDeviceType() {
|
return this.deviceType;
|
}
|
|
public Integer getProperties() {
|
return this.properties;
|
}
|
|
public List<WorkstationWorkbench> getWorkstationList() {
|
return this.workstationList;
|
}
|
|
public Integer getTransmissionMode() {
|
return this.transmissionMode;
|
}
|
|
public String getFtpCatalogue() {
|
return this.ftpCatalogue;
|
}
|
}
|