package com.qianwen.smartman.modules.cps.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/MachineListVO.class */
|
public class MachineListVO implements Serializable {
|
private static final long serialVersionUID = -3457081375677686300L;
|
@ApiModelProperty(value = "主键id", dataType = "java.lang.String")
|
private Long id;
|
@ApiModelProperty("扩展id")
|
private String extendId;
|
@ApiModelProperty("机器编号")
|
private String machineCode;
|
@ApiModelProperty("机器名称")
|
private String machineName;
|
@ApiModelProperty("机器类型")
|
private String machineTypeName;
|
@ApiModelProperty("机器规格")
|
private String machineModel;
|
@ApiModelProperty("所属机器组")
|
private String groupName;
|
@ApiModelProperty(value = "机器类型ID", dataType = "java.lang.String")
|
private Long machineTypeId;
|
@ApiModelProperty("机器序列号")
|
private String serialNo;
|
@ApiModelProperty("短编号")
|
private String shortCode;
|
@ApiModelProperty("使用状态id")
|
private Integer machineUseStatus;
|
@ApiModelProperty("使用状态名称")
|
private String machineUseStatusName;
|
@ApiModelProperty("状态:1 启用 0 停用")
|
private Integer status;
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setExtendId(final String extendId) {
|
this.extendId = extendId;
|
}
|
|
public void setMachineCode(final String machineCode) {
|
this.machineCode = machineCode;
|
}
|
|
public void setMachineName(final String machineName) {
|
this.machineName = machineName;
|
}
|
|
public void setMachineTypeName(final String machineTypeName) {
|
this.machineTypeName = machineTypeName;
|
}
|
|
public void setMachineModel(final String machineModel) {
|
this.machineModel = machineModel;
|
}
|
|
public void setGroupName(final String groupName) {
|
this.groupName = groupName;
|
}
|
|
public void setMachineTypeId(final Long machineTypeId) {
|
this.machineTypeId = machineTypeId;
|
}
|
|
public void setSerialNo(final String serialNo) {
|
this.serialNo = serialNo;
|
}
|
|
public void setShortCode(final String shortCode) {
|
this.shortCode = shortCode;
|
}
|
|
public void setMachineUseStatus(final Integer machineUseStatus) {
|
this.machineUseStatus = machineUseStatus;
|
}
|
|
public void setMachineUseStatusName(final String machineUseStatusName) {
|
this.machineUseStatusName = machineUseStatusName;
|
}
|
|
public void setStatus(final Integer status) {
|
this.status = status;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof MachineListVO) {
|
MachineListVO other = (MachineListVO) 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$machineTypeId = getMachineTypeId();
|
Object other$machineTypeId = other.getMachineTypeId();
|
if (this$machineTypeId == null) {
|
if (other$machineTypeId != null) {
|
return false;
|
}
|
} else if (!this$machineTypeId.equals(other$machineTypeId)) {
|
return false;
|
}
|
Object this$machineUseStatus = getMachineUseStatus();
|
Object other$machineUseStatus = other.getMachineUseStatus();
|
if (this$machineUseStatus == null) {
|
if (other$machineUseStatus != null) {
|
return false;
|
}
|
} else if (!this$machineUseStatus.equals(other$machineUseStatus)) {
|
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$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$machineTypeName = getMachineTypeName();
|
Object other$machineTypeName = other.getMachineTypeName();
|
if (this$machineTypeName == null) {
|
if (other$machineTypeName != null) {
|
return false;
|
}
|
} else if (!this$machineTypeName.equals(other$machineTypeName)) {
|
return false;
|
}
|
Object this$machineModel = getMachineModel();
|
Object other$machineModel = other.getMachineModel();
|
if (this$machineModel == null) {
|
if (other$machineModel != null) {
|
return false;
|
}
|
} else if (!this$machineModel.equals(other$machineModel)) {
|
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$serialNo = getSerialNo();
|
Object other$serialNo = other.getSerialNo();
|
if (this$serialNo == null) {
|
if (other$serialNo != null) {
|
return false;
|
}
|
} else if (!this$serialNo.equals(other$serialNo)) {
|
return false;
|
}
|
Object this$shortCode = getShortCode();
|
Object other$shortCode = other.getShortCode();
|
if (this$shortCode == null) {
|
if (other$shortCode != null) {
|
return false;
|
}
|
} else if (!this$shortCode.equals(other$shortCode)) {
|
return false;
|
}
|
Object this$machineUseStatusName = getMachineUseStatusName();
|
Object other$machineUseStatusName = other.getMachineUseStatusName();
|
return this$machineUseStatusName == null ? other$machineUseStatusName == null : this$machineUseStatusName.equals(other$machineUseStatusName);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof MachineListVO;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $machineTypeId = getMachineTypeId();
|
int result2 = (result * 59) + ($machineTypeId == null ? 43 : $machineTypeId.hashCode());
|
Object $machineUseStatus = getMachineUseStatus();
|
int result3 = (result2 * 59) + ($machineUseStatus == null ? 43 : $machineUseStatus.hashCode());
|
Object $status = getStatus();
|
int result4 = (result3 * 59) + ($status == null ? 43 : $status.hashCode());
|
Object $extendId = getExtendId();
|
int result5 = (result4 * 59) + ($extendId == null ? 43 : $extendId.hashCode());
|
Object $machineCode = getMachineCode();
|
int result6 = (result5 * 59) + ($machineCode == null ? 43 : $machineCode.hashCode());
|
Object $machineName = getMachineName();
|
int result7 = (result6 * 59) + ($machineName == null ? 43 : $machineName.hashCode());
|
Object $machineTypeName = getMachineTypeName();
|
int result8 = (result7 * 59) + ($machineTypeName == null ? 43 : $machineTypeName.hashCode());
|
Object $machineModel = getMachineModel();
|
int result9 = (result8 * 59) + ($machineModel == null ? 43 : $machineModel.hashCode());
|
Object $groupName = getGroupName();
|
int result10 = (result9 * 59) + ($groupName == null ? 43 : $groupName.hashCode());
|
Object $serialNo = getSerialNo();
|
int result11 = (result10 * 59) + ($serialNo == null ? 43 : $serialNo.hashCode());
|
Object $shortCode = getShortCode();
|
int result12 = (result11 * 59) + ($shortCode == null ? 43 : $shortCode.hashCode());
|
Object $machineUseStatusName = getMachineUseStatusName();
|
return (result12 * 59) + ($machineUseStatusName == null ? 43 : $machineUseStatusName.hashCode());
|
}
|
|
public String toString() {
|
return "MachineListVO(id=" + getId() + ", extendId=" + getExtendId() + ", machineCode=" + getMachineCode() + ", machineName=" + getMachineName() + ", machineTypeName=" + getMachineTypeName() + ", machineModel=" + getMachineModel() + ", groupName=" + getGroupName() + ", machineTypeId=" + getMachineTypeId() + ", serialNo=" + getSerialNo() + ", shortCode=" + getShortCode() + ", machineUseStatus=" + getMachineUseStatus() + ", machineUseStatusName=" + getMachineUseStatusName() + ", status=" + getStatus() + ")";
|
}
|
|
public MachineListVO() {
|
}
|
|
public MachineListVO(final Long id, final String extendId, final String machineCode, final String machineName, final String machineTypeName, final String machineModel, final String groupName, final Long machineTypeId, final String serialNo, final String shortCode, final Integer machineUseStatus, final String machineUseStatusName, final Integer status) {
|
this.id = id;
|
this.extendId = extendId;
|
this.machineCode = machineCode;
|
this.machineName = machineName;
|
this.machineTypeName = machineTypeName;
|
this.machineModel = machineModel;
|
this.groupName = groupName;
|
this.machineTypeId = machineTypeId;
|
this.serialNo = serialNo;
|
this.shortCode = shortCode;
|
this.machineUseStatus = machineUseStatus;
|
this.machineUseStatusName = machineUseStatusName;
|
this.status = status;
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public String getExtendId() {
|
return this.extendId;
|
}
|
|
public String getMachineCode() {
|
return this.machineCode;
|
}
|
|
public String getMachineName() {
|
return this.machineName;
|
}
|
|
public String getMachineTypeName() {
|
return this.machineTypeName;
|
}
|
|
public String getMachineModel() {
|
return this.machineModel;
|
}
|
|
public String getGroupName() {
|
return this.groupName;
|
}
|
|
public Long getMachineTypeId() {
|
return this.machineTypeId;
|
}
|
|
public String getSerialNo() {
|
return this.serialNo;
|
}
|
|
public String getShortCode() {
|
return this.shortCode;
|
}
|
|
public Integer getMachineUseStatus() {
|
return this.machineUseStatus;
|
}
|
|
public String getMachineUseStatusName() {
|
return this.machineUseStatusName;
|
}
|
|
public Integer getStatus() {
|
return this.status;
|
}
|
}
|