package com.qianwen.smartman.modules.cps.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.annotations.ApiModel;
|
import com.qianwen.core.tenant.mp.TenantEntity;
|
|
@ApiModel(description = "保养项目保养项")
|
@TableName("blade_maintain_project_item")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/MaintainProjectItem.class */
|
public class MaintainProjectItem extends TenantEntity {
|
private Long projectId;
|
private Long itemId;
|
|
public MaintainProjectItem setProjectId(final Long projectId) {
|
this.projectId = projectId;
|
return this;
|
}
|
|
public MaintainProjectItem setItemId(final Long itemId) {
|
this.itemId = itemId;
|
return this;
|
}
|
|
public String toString() {
|
return "MaintainProjectItem(projectId=" + getProjectId() + ", itemId=" + getItemId() + ")";
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof MaintainProjectItem) {
|
MaintainProjectItem other = (MaintainProjectItem) o;
|
if (other.canEqual(this) && super.equals(o)) {
|
Object this$projectId = getProjectId();
|
Object other$projectId = other.getProjectId();
|
if (this$projectId == null) {
|
if (other$projectId != null) {
|
return false;
|
}
|
} else if (!this$projectId.equals(other$projectId)) {
|
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 MaintainProjectItem;
|
}
|
|
public int hashCode() {
|
int result = super.hashCode();
|
Object $projectId = getProjectId();
|
int result2 = (result * 59) + ($projectId == null ? 43 : $projectId.hashCode());
|
Object $itemId = getItemId();
|
return (result2 * 59) + ($itemId == null ? 43 : $itemId.hashCode());
|
}
|
|
public Long getProjectId() {
|
return this.projectId;
|
}
|
|
public Long getItemId() {
|
return this.itemId;
|
}
|
}
|