package com.qianwen.smartman.modules.cps.vo;
|
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/RepairRecordMaterialAddVO.class */
|
public class RepairRecordMaterialAddVO implements Serializable {
|
@JsonIgnore
|
@ApiModelProperty(value = "维修记录id", dataType = "java.lang.String")
|
private Long recordId;
|
@ApiModelProperty(value = "物料id", dataType = "java.lang.String")
|
private Long materialId;
|
@ApiModelProperty("物料编码")
|
private String materialCode;
|
@ApiModelProperty("物料名称")
|
private String materialName;
|
@ApiModelProperty("数量")
|
private Integer recordNumber;
|
@JsonIgnore
|
@ApiModelProperty("数据来源: 1 维修记录单 2. 保养记录")
|
private Integer bizType;
|
@JsonIgnore
|
@ApiModelProperty(value = "机器id", dataType = "java.lang.String")
|
private Long deviceId;
|
@JsonIgnore
|
@ApiModelProperty(value = "维修负责人id", dataType = "java.lang.String")
|
private Long userId;
|
@JsonIgnore
|
@ApiModelProperty("维修负责人名称")
|
private String userName;
|
@JsonIgnore
|
@ApiModelProperty("维修记录结束时间")
|
private Date usageTime;
|
|
@JsonIgnore
|
public RepairRecordMaterialAddVO setRecordId(final Long recordId) {
|
this.recordId = recordId;
|
return this;
|
}
|
|
public RepairRecordMaterialAddVO setMaterialId(final Long materialId) {
|
this.materialId = materialId;
|
return this;
|
}
|
|
public RepairRecordMaterialAddVO setMaterialCode(final String materialCode) {
|
this.materialCode = materialCode;
|
return this;
|
}
|
|
public RepairRecordMaterialAddVO setMaterialName(final String materialName) {
|
this.materialName = materialName;
|
return this;
|
}
|
|
public RepairRecordMaterialAddVO setRecordNumber(final Integer recordNumber) {
|
this.recordNumber = recordNumber;
|
return this;
|
}
|
|
@JsonIgnore
|
public RepairRecordMaterialAddVO setBizType(final Integer bizType) {
|
this.bizType = bizType;
|
return this;
|
}
|
|
@JsonIgnore
|
public RepairRecordMaterialAddVO setDeviceId(final Long deviceId) {
|
this.deviceId = deviceId;
|
return this;
|
}
|
|
@JsonIgnore
|
public RepairRecordMaterialAddVO setUserId(final Long userId) {
|
this.userId = userId;
|
return this;
|
}
|
|
@JsonIgnore
|
public RepairRecordMaterialAddVO setUserName(final String userName) {
|
this.userName = userName;
|
return this;
|
}
|
|
@JsonIgnore
|
public RepairRecordMaterialAddVO setUsageTime(final Date usageTime) {
|
this.usageTime = usageTime;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof RepairRecordMaterialAddVO) {
|
RepairRecordMaterialAddVO other = (RepairRecordMaterialAddVO) o;
|
if (other.canEqual(this)) {
|
Object this$recordId = getRecordId();
|
Object other$recordId = other.getRecordId();
|
if (this$recordId == null) {
|
if (other$recordId != null) {
|
return false;
|
}
|
} else if (!this$recordId.equals(other$recordId)) {
|
return false;
|
}
|
Object this$materialId = getMaterialId();
|
Object other$materialId = other.getMaterialId();
|
if (this$materialId == null) {
|
if (other$materialId != null) {
|
return false;
|
}
|
} else if (!this$materialId.equals(other$materialId)) {
|
return false;
|
}
|
Object this$recordNumber = getRecordNumber();
|
Object other$recordNumber = other.getRecordNumber();
|
if (this$recordNumber == null) {
|
if (other$recordNumber != null) {
|
return false;
|
}
|
} else if (!this$recordNumber.equals(other$recordNumber)) {
|
return false;
|
}
|
Object this$bizType = getBizType();
|
Object other$bizType = other.getBizType();
|
if (this$bizType == null) {
|
if (other$bizType != null) {
|
return false;
|
}
|
} else if (!this$bizType.equals(other$bizType)) {
|
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$userId = getUserId();
|
Object other$userId = other.getUserId();
|
if (this$userId == null) {
|
if (other$userId != null) {
|
return false;
|
}
|
} else if (!this$userId.equals(other$userId)) {
|
return false;
|
}
|
Object this$materialCode = getMaterialCode();
|
Object other$materialCode = other.getMaterialCode();
|
if (this$materialCode == null) {
|
if (other$materialCode != null) {
|
return false;
|
}
|
} else if (!this$materialCode.equals(other$materialCode)) {
|
return false;
|
}
|
Object this$materialName = getMaterialName();
|
Object other$materialName = other.getMaterialName();
|
if (this$materialName == null) {
|
if (other$materialName != null) {
|
return false;
|
}
|
} else if (!this$materialName.equals(other$materialName)) {
|
return false;
|
}
|
Object this$userName = getUserName();
|
Object other$userName = other.getUserName();
|
if (this$userName == null) {
|
if (other$userName != null) {
|
return false;
|
}
|
} else if (!this$userName.equals(other$userName)) {
|
return false;
|
}
|
Object this$usageTime = getUsageTime();
|
Object other$usageTime = other.getUsageTime();
|
return this$usageTime == null ? other$usageTime == null : this$usageTime.equals(other$usageTime);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof RepairRecordMaterialAddVO;
|
}
|
|
public int hashCode() {
|
Object $recordId = getRecordId();
|
int result = (1 * 59) + ($recordId == null ? 43 : $recordId.hashCode());
|
Object $materialId = getMaterialId();
|
int result2 = (result * 59) + ($materialId == null ? 43 : $materialId.hashCode());
|
Object $recordNumber = getRecordNumber();
|
int result3 = (result2 * 59) + ($recordNumber == null ? 43 : $recordNumber.hashCode());
|
Object $bizType = getBizType();
|
int result4 = (result3 * 59) + ($bizType == null ? 43 : $bizType.hashCode());
|
Object $deviceId = getDeviceId();
|
int result5 = (result4 * 59) + ($deviceId == null ? 43 : $deviceId.hashCode());
|
Object $userId = getUserId();
|
int result6 = (result5 * 59) + ($userId == null ? 43 : $userId.hashCode());
|
Object $materialCode = getMaterialCode();
|
int result7 = (result6 * 59) + ($materialCode == null ? 43 : $materialCode.hashCode());
|
Object $materialName = getMaterialName();
|
int result8 = (result7 * 59) + ($materialName == null ? 43 : $materialName.hashCode());
|
Object $userName = getUserName();
|
int result9 = (result8 * 59) + ($userName == null ? 43 : $userName.hashCode());
|
Object $usageTime = getUsageTime();
|
return (result9 * 59) + ($usageTime == null ? 43 : $usageTime.hashCode());
|
}
|
|
public String toString() {
|
return "RepairRecordMaterialAddVO(recordId=" + getRecordId() + ", materialId=" + getMaterialId() + ", materialCode=" + getMaterialCode() + ", materialName=" + getMaterialName() + ", recordNumber=" + getRecordNumber() + ", bizType=" + getBizType() + ", deviceId=" + getDeviceId() + ", userId=" + getUserId() + ", userName=" + getUserName() + ", usageTime=" + getUsageTime() + ")";
|
}
|
|
public Long getRecordId() {
|
return this.recordId;
|
}
|
|
public Long getMaterialId() {
|
return this.materialId;
|
}
|
|
public String getMaterialCode() {
|
return this.materialCode;
|
}
|
|
public String getMaterialName() {
|
return this.materialName;
|
}
|
|
public Integer getRecordNumber() {
|
return this.recordNumber;
|
}
|
|
public Integer getBizType() {
|
return this.bizType;
|
}
|
|
public Long getDeviceId() {
|
return this.deviceId;
|
}
|
|
public Long getUserId() {
|
return this.userId;
|
}
|
|
public String getUserName() {
|
return this.userName;
|
}
|
|
public Date getUsageTime() {
|
return this.usageTime;
|
}
|
}
|