package com.qianwen.smartman.modules.tpm.vo; import com.fasterxml.jackson.annotation.JsonFormat; 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.Date; import com.qianwen.smartman.common.constant.DateConstant; import org.springframework.format.annotation.DateTimeFormat; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tpm/vo/CheckRecordVO.class */ public class CheckRecordVO implements Serializable { private static final long serialVersionUID = 6115052904161316657L; @ApiModelProperty("点检记录code") private String checkCode; @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty("点检记录id") private Long id; @ApiModelProperty("设备id") private Long deviceId; @ApiModelProperty("设备编码") private String deviceCode; @ApiModelProperty("设备名称") private String deviceName; @ApiModelProperty("规格型号") private String machineModel; @ApiModelProperty("设备类型") private Long deviceTypeId; @ApiModelProperty("设备类型名称") private String deviceTypeName; @ApiModelProperty("检验人员id") private Long checkUserId; @ApiModelProperty("检验人员名称") private String checkUserName; @DateTimeFormat(pattern = DateConstant.PATTERN_DATE_TIME) @ApiModelProperty("点检时间") @JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME) private Date checkTime; @ApiModelProperty("点检结果(0: 不正常;1: 正常)") private Integer checkResult; @ApiModelProperty("点检项目id") private Long checkProjectId; @ApiModelProperty("点检项目编码") private String checkProjectCode; @ApiModelProperty("点检项目名称") private String checkProjectName; @ApiModelProperty("点检描述") private String remark; public void setCheckCode(final String checkCode) { this.checkCode = checkCode; } public void setId(final Long id) { this.id = id; } public void setDeviceId(final Long deviceId) { this.deviceId = deviceId; } public void setDeviceCode(final String deviceCode) { this.deviceCode = deviceCode; } public void setDeviceName(final String deviceName) { this.deviceName = deviceName; } public void setMachineModel(final String machineModel) { this.machineModel = machineModel; } public void setDeviceTypeId(final Long deviceTypeId) { this.deviceTypeId = deviceTypeId; } public void setDeviceTypeName(final String deviceTypeName) { this.deviceTypeName = deviceTypeName; } public void setCheckUserId(final Long checkUserId) { this.checkUserId = checkUserId; } public void setCheckUserName(final String checkUserName) { this.checkUserName = checkUserName; } @JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME) public void setCheckTime(final Date checkTime) { this.checkTime = checkTime; } public void setCheckResult(final Integer checkResult) { this.checkResult = checkResult; } public void setCheckProjectId(final Long checkProjectId) { this.checkProjectId = checkProjectId; } public void setCheckProjectCode(final String checkProjectCode) { this.checkProjectCode = checkProjectCode; } public void setCheckProjectName(final String checkProjectName) { this.checkProjectName = checkProjectName; } public void setRemark(final String remark) { this.remark = remark; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof CheckRecordVO) { CheckRecordVO other = (CheckRecordVO) 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$deviceId = getDeviceId(); Object other$deviceId = other.getDeviceId(); if (this$deviceId == null) { if (other$deviceId != null) { return false; } } else if (!this$deviceId.equals(other$deviceId)) { return false; } Object this$deviceTypeId = getDeviceTypeId(); Object other$deviceTypeId = other.getDeviceTypeId(); if (this$deviceTypeId == null) { if (other$deviceTypeId != null) { return false; } } else if (!this$deviceTypeId.equals(other$deviceTypeId)) { return false; } Object this$checkUserId = getCheckUserId(); Object other$checkUserId = other.getCheckUserId(); if (this$checkUserId == null) { if (other$checkUserId != null) { return false; } } else if (!this$checkUserId.equals(other$checkUserId)) { return false; } Object this$checkResult = getCheckResult(); Object other$checkResult = other.getCheckResult(); if (this$checkResult == null) { if (other$checkResult != null) { return false; } } else if (!this$checkResult.equals(other$checkResult)) { return false; } Object this$checkProjectId = getCheckProjectId(); Object other$checkProjectId = other.getCheckProjectId(); if (this$checkProjectId == null) { if (other$checkProjectId != null) { return false; } } else if (!this$checkProjectId.equals(other$checkProjectId)) { return false; } Object this$checkCode = getCheckCode(); Object other$checkCode = other.getCheckCode(); if (this$checkCode == null) { if (other$checkCode != null) { return false; } } else if (!this$checkCode.equals(other$checkCode)) { return false; } Object this$deviceCode = getDeviceCode(); Object other$deviceCode = other.getDeviceCode(); if (this$deviceCode == null) { if (other$deviceCode != null) { return false; } } else if (!this$deviceCode.equals(other$deviceCode)) { return false; } Object this$deviceName = getDeviceName(); Object other$deviceName = other.getDeviceName(); if (this$deviceName == null) { if (other$deviceName != null) { return false; } } else if (!this$deviceName.equals(other$deviceName)) { 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$deviceTypeName = getDeviceTypeName(); Object other$deviceTypeName = other.getDeviceTypeName(); if (this$deviceTypeName == null) { if (other$deviceTypeName != null) { return false; } } else if (!this$deviceTypeName.equals(other$deviceTypeName)) { return false; } Object this$checkUserName = getCheckUserName(); Object other$checkUserName = other.getCheckUserName(); if (this$checkUserName == null) { if (other$checkUserName != null) { return false; } } else if (!this$checkUserName.equals(other$checkUserName)) { return false; } Object this$checkTime = getCheckTime(); Object other$checkTime = other.getCheckTime(); if (this$checkTime == null) { if (other$checkTime != null) { return false; } } else if (!this$checkTime.equals(other$checkTime)) { return false; } Object this$checkProjectCode = getCheckProjectCode(); Object other$checkProjectCode = other.getCheckProjectCode(); if (this$checkProjectCode == null) { if (other$checkProjectCode != null) { return false; } } else if (!this$checkProjectCode.equals(other$checkProjectCode)) { return false; } Object this$checkProjectName = getCheckProjectName(); Object other$checkProjectName = other.getCheckProjectName(); if (this$checkProjectName == null) { if (other$checkProjectName != null) { return false; } } else if (!this$checkProjectName.equals(other$checkProjectName)) { return false; } Object this$remark = getRemark(); Object other$remark = other.getRemark(); return this$remark == null ? other$remark == null : this$remark.equals(other$remark); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof CheckRecordVO; } public int hashCode() { Object $id = getId(); int result = (1 * 59) + ($id == null ? 43 : $id.hashCode()); Object $deviceId = getDeviceId(); int result2 = (result * 59) + ($deviceId == null ? 43 : $deviceId.hashCode()); Object $deviceTypeId = getDeviceTypeId(); int result3 = (result2 * 59) + ($deviceTypeId == null ? 43 : $deviceTypeId.hashCode()); Object $checkUserId = getCheckUserId(); int result4 = (result3 * 59) + ($checkUserId == null ? 43 : $checkUserId.hashCode()); Object $checkResult = getCheckResult(); int result5 = (result4 * 59) + ($checkResult == null ? 43 : $checkResult.hashCode()); Object $checkProjectId = getCheckProjectId(); int result6 = (result5 * 59) + ($checkProjectId == null ? 43 : $checkProjectId.hashCode()); Object $checkCode = getCheckCode(); int result7 = (result6 * 59) + ($checkCode == null ? 43 : $checkCode.hashCode()); Object $deviceCode = getDeviceCode(); int result8 = (result7 * 59) + ($deviceCode == null ? 43 : $deviceCode.hashCode()); Object $deviceName = getDeviceName(); int result9 = (result8 * 59) + ($deviceName == null ? 43 : $deviceName.hashCode()); Object $machineModel = getMachineModel(); int result10 = (result9 * 59) + ($machineModel == null ? 43 : $machineModel.hashCode()); Object $deviceTypeName = getDeviceTypeName(); int result11 = (result10 * 59) + ($deviceTypeName == null ? 43 : $deviceTypeName.hashCode()); Object $checkUserName = getCheckUserName(); int result12 = (result11 * 59) + ($checkUserName == null ? 43 : $checkUserName.hashCode()); Object $checkTime = getCheckTime(); int result13 = (result12 * 59) + ($checkTime == null ? 43 : $checkTime.hashCode()); Object $checkProjectCode = getCheckProjectCode(); int result14 = (result13 * 59) + ($checkProjectCode == null ? 43 : $checkProjectCode.hashCode()); Object $checkProjectName = getCheckProjectName(); int result15 = (result14 * 59) + ($checkProjectName == null ? 43 : $checkProjectName.hashCode()); Object $remark = getRemark(); return (result15 * 59) + ($remark == null ? 43 : $remark.hashCode()); } public String toString() { return "CheckRecordVO(checkCode=" + getCheckCode() + ", id=" + getId() + ", deviceId=" + getDeviceId() + ", deviceCode=" + getDeviceCode() + ", deviceName=" + getDeviceName() + ", machineModel=" + getMachineModel() + ", deviceTypeId=" + getDeviceTypeId() + ", deviceTypeName=" + getDeviceTypeName() + ", checkUserId=" + getCheckUserId() + ", checkUserName=" + getCheckUserName() + ", checkTime=" + getCheckTime() + ", checkResult=" + getCheckResult() + ", checkProjectId=" + getCheckProjectId() + ", checkProjectCode=" + getCheckProjectCode() + ", checkProjectName=" + getCheckProjectName() + ", remark=" + getRemark() + ")"; } public String getCheckCode() { return this.checkCode; } public Long getId() { return this.id; } public Long getDeviceId() { return this.deviceId; } public String getDeviceCode() { return this.deviceCode; } public String getDeviceName() { return this.deviceName; } public String getMachineModel() { return this.machineModel; } public Long getDeviceTypeId() { return this.deviceTypeId; } public String getDeviceTypeName() { return this.deviceTypeName; } public Long getCheckUserId() { return this.checkUserId; } public String getCheckUserName() { return this.checkUserName; } public Date getCheckTime() { return this.checkTime; } public Integer getCheckResult() { return this.checkResult; } public Long getCheckProjectId() { return this.checkProjectId; } public String getCheckProjectCode() { return this.checkProjectCode; } public String getCheckProjectName() { return this.checkProjectName; } public String getRemark() { return this.remark; } }