package com.qianwen.smartman.modules.trace.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import com.qianwen.core.mp.base.BaseEntity;
|
|
@ApiModel(value = "TraceRecordNgReason对象", description = "工件流程NG原因表")
|
@TableName("blade_trace_record_ng_reason")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/trace/entity/TraceRecordNgReason.class */
|
public class TraceRecordNgReason extends BaseEntity {
|
private static final long serialVersionUID = 1;
|
@ApiModelProperty("工件流程记录id")
|
private Long recordId;
|
@ApiModelProperty("不良部位id")
|
private Long badPartId;
|
@ApiModelProperty("不良部位")
|
private String badPart;
|
@ApiModelProperty("原因编号")
|
private String reasonId;
|
@ApiModelProperty("原因编号")
|
private String reasonCode;
|
@ApiModelProperty("原因名称")
|
private String reasonName;
|
@ApiModelProperty("租户ID")
|
private String tenantId;
|
@ApiModelProperty("创建用户名称")
|
private String createUserName;
|
|
public TraceRecordNgReason setRecordId(final Long recordId) {
|
this.recordId = recordId;
|
return this;
|
}
|
|
public TraceRecordNgReason setBadPartId(final Long badPartId) {
|
this.badPartId = badPartId;
|
return this;
|
}
|
|
public TraceRecordNgReason setBadPart(final String badPart) {
|
this.badPart = badPart;
|
return this;
|
}
|
|
public TraceRecordNgReason setReasonId(final String reasonId) {
|
this.reasonId = reasonId;
|
return this;
|
}
|
|
public TraceRecordNgReason setReasonCode(final String reasonCode) {
|
this.reasonCode = reasonCode;
|
return this;
|
}
|
|
public TraceRecordNgReason setReasonName(final String reasonName) {
|
this.reasonName = reasonName;
|
return this;
|
}
|
|
public TraceRecordNgReason setTenantId(final String tenantId) {
|
this.tenantId = tenantId;
|
return this;
|
}
|
|
public TraceRecordNgReason setCreateUserName(final String createUserName) {
|
this.createUserName = createUserName;
|
return this;
|
}
|
|
public String toString() {
|
return "TraceRecordNgReason(recordId=" + getRecordId() + ", badPartId=" + getBadPartId() + ", badPart=" + getBadPart() + ", reasonId=" + getReasonId() + ", reasonCode=" + getReasonCode() + ", reasonName=" + getReasonName() + ", tenantId=" + getTenantId() + ", createUserName=" + getCreateUserName() + ")";
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof TraceRecordNgReason) {
|
TraceRecordNgReason other = (TraceRecordNgReason) o;
|
if (other.canEqual(this) && super.equals(o)) {
|
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$badPartId = getBadPartId();
|
Object other$badPartId = other.getBadPartId();
|
if (this$badPartId == null) {
|
if (other$badPartId != null) {
|
return false;
|
}
|
} else if (!this$badPartId.equals(other$badPartId)) {
|
return false;
|
}
|
Object this$badPart = getBadPart();
|
Object other$badPart = other.getBadPart();
|
if (this$badPart == null) {
|
if (other$badPart != null) {
|
return false;
|
}
|
} else if (!this$badPart.equals(other$badPart)) {
|
return false;
|
}
|
Object this$reasonId = getReasonId();
|
Object other$reasonId = other.getReasonId();
|
if (this$reasonId == null) {
|
if (other$reasonId != null) {
|
return false;
|
}
|
} else if (!this$reasonId.equals(other$reasonId)) {
|
return false;
|
}
|
Object this$reasonCode = getReasonCode();
|
Object other$reasonCode = other.getReasonCode();
|
if (this$reasonCode == null) {
|
if (other$reasonCode != null) {
|
return false;
|
}
|
} else if (!this$reasonCode.equals(other$reasonCode)) {
|
return false;
|
}
|
Object this$reasonName = getReasonName();
|
Object other$reasonName = other.getReasonName();
|
if (this$reasonName == null) {
|
if (other$reasonName != null) {
|
return false;
|
}
|
} else if (!this$reasonName.equals(other$reasonName)) {
|
return false;
|
}
|
Object this$tenantId = getTenantId();
|
Object other$tenantId = other.getTenantId();
|
if (this$tenantId == null) {
|
if (other$tenantId != null) {
|
return false;
|
}
|
} else if (!this$tenantId.equals(other$tenantId)) {
|
return false;
|
}
|
Object this$createUserName = getCreateUserName();
|
Object other$createUserName = other.getCreateUserName();
|
return this$createUserName == null ? other$createUserName == null : this$createUserName.equals(other$createUserName);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof TraceRecordNgReason;
|
}
|
|
public int hashCode() {
|
int result = super.hashCode();
|
Object $recordId = getRecordId();
|
int result2 = (result * 59) + ($recordId == null ? 43 : $recordId.hashCode());
|
Object $badPartId = getBadPartId();
|
int result3 = (result2 * 59) + ($badPartId == null ? 43 : $badPartId.hashCode());
|
Object $badPart = getBadPart();
|
int result4 = (result3 * 59) + ($badPart == null ? 43 : $badPart.hashCode());
|
Object $reasonId = getReasonId();
|
int result5 = (result4 * 59) + ($reasonId == null ? 43 : $reasonId.hashCode());
|
Object $reasonCode = getReasonCode();
|
int result6 = (result5 * 59) + ($reasonCode == null ? 43 : $reasonCode.hashCode());
|
Object $reasonName = getReasonName();
|
int result7 = (result6 * 59) + ($reasonName == null ? 43 : $reasonName.hashCode());
|
Object $tenantId = getTenantId();
|
int result8 = (result7 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
|
Object $createUserName = getCreateUserName();
|
return (result8 * 59) + ($createUserName == null ? 43 : $createUserName.hashCode());
|
}
|
|
public Long getRecordId() {
|
return this.recordId;
|
}
|
|
public Long getBadPartId() {
|
return this.badPartId;
|
}
|
|
public String getBadPart() {
|
return this.badPart;
|
}
|
|
public String getReasonId() {
|
return this.reasonId;
|
}
|
|
public String getReasonCode() {
|
return this.reasonCode;
|
}
|
|
public String getReasonName() {
|
return this.reasonName;
|
}
|
|
public String getTenantId() {
|
return this.tenantId;
|
}
|
|
public String getCreateUserName() {
|
return this.createUserName;
|
}
|
}
|