package com.qianwen.smartman.modules.tpm.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.annotations.ApiModel;
|
import com.qianwen.core.tenant.mp.TenantEntity;
|
|
@ApiModel(description = "保养计划保养项")
|
@TableName("blade_maintain_plan_item")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tpm/entity/MaintainPlanItem.class */
|
public class MaintainPlanItem extends TenantEntity {
|
private Long planId;
|
private Long itemId;
|
|
public MaintainPlanItem setPlanId(final Long planId) {
|
this.planId = planId;
|
return this;
|
}
|
|
public MaintainPlanItem setItemId(final Long itemId) {
|
this.itemId = itemId;
|
return this;
|
}
|
|
public String toString() {
|
return "MaintainPlanItem(planId=" + getPlanId() + ", itemId=" + getItemId() + ")";
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof MaintainPlanItem) {
|
MaintainPlanItem other = (MaintainPlanItem) o;
|
if (other.canEqual(this) && super.equals(o)) {
|
Object this$planId = getPlanId();
|
Object other$planId = other.getPlanId();
|
if (this$planId == null) {
|
if (other$planId != null) {
|
return false;
|
}
|
} else if (!this$planId.equals(other$planId)) {
|
return false;
|
}
|
Object this$itemId = getItemId();
|
Object other$itemId = other.getItemId();
|
return this$itemId == null ? other$itemId == null : this$itemId.equals(other$itemId);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof MaintainPlanItem;
|
}
|
|
public int hashCode() {
|
int result = super.hashCode();
|
Object $planId = getPlanId();
|
int result2 = (result * 59) + ($planId == null ? 43 : $planId.hashCode());
|
Object $itemId = getItemId();
|
return (result2 * 59) + ($itemId == null ? 43 : $itemId.hashCode());
|
}
|
|
public Long getPlanId() {
|
return this.planId;
|
}
|
|
public Long getItemId() {
|
return this.itemId;
|
}
|
}
|