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 = "NgReasonInfo对象", description = "NG原因维护信息表")
|
@TableName("blade_ng_reason_info")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/trace/entity/NgReasonInfo.class */
|
public class NgReasonInfo extends BaseEntity {
|
private static final long serialVersionUID = 1;
|
@ApiModelProperty("租户ID")
|
private String tenantId;
|
@ApiModelProperty("类型id")
|
private Long typeId;
|
@ApiModelProperty("原因编号")
|
private String reasonCode;
|
@ApiModelProperty("原因名称")
|
private String reasonName;
|
@ApiModelProperty("备注")
|
private String remark;
|
|
public NgReasonInfo setTenantId(final String tenantId) {
|
this.tenantId = tenantId;
|
return this;
|
}
|
|
public NgReasonInfo setTypeId(final Long typeId) {
|
this.typeId = typeId;
|
return this;
|
}
|
|
public NgReasonInfo setReasonCode(final String reasonCode) {
|
this.reasonCode = reasonCode;
|
return this;
|
}
|
|
public NgReasonInfo setReasonName(final String reasonName) {
|
this.reasonName = reasonName;
|
return this;
|
}
|
|
public NgReasonInfo setRemark(final String remark) {
|
this.remark = remark;
|
return this;
|
}
|
|
public String toString() {
|
return "NgReasonInfo(tenantId=" + getTenantId() + ", typeId=" + getTypeId() + ", reasonCode=" + getReasonCode() + ", reasonName=" + getReasonName() + ", remark=" + getRemark() + ")";
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof NgReasonInfo) {
|
NgReasonInfo other = (NgReasonInfo) o;
|
if (other.canEqual(this) && super.equals(o)) {
|
Object this$typeId = getTypeId();
|
Object other$typeId = other.getTypeId();
|
if (this$typeId == null) {
|
if (other$typeId != null) {
|
return false;
|
}
|
} else if (!this$typeId.equals(other$typeId)) {
|
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$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$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 NgReasonInfo;
|
}
|
|
public int hashCode() {
|
int result = super.hashCode();
|
Object $typeId = getTypeId();
|
int result2 = (result * 59) + ($typeId == null ? 43 : $typeId.hashCode());
|
Object $tenantId = getTenantId();
|
int result3 = (result2 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
|
Object $reasonCode = getReasonCode();
|
int result4 = (result3 * 59) + ($reasonCode == null ? 43 : $reasonCode.hashCode());
|
Object $reasonName = getReasonName();
|
int result5 = (result4 * 59) + ($reasonName == null ? 43 : $reasonName.hashCode());
|
Object $remark = getRemark();
|
return (result5 * 59) + ($remark == null ? 43 : $remark.hashCode());
|
}
|
|
public String getTenantId() {
|
return this.tenantId;
|
}
|
|
public Long getTypeId() {
|
return this.typeId;
|
}
|
|
public String getReasonCode() {
|
return this.reasonCode;
|
}
|
|
public String getReasonName() {
|
return this.reasonName;
|
}
|
|
public String getRemark() {
|
return this.remark;
|
}
|
}
|