package com.qianwen.smartman.modules.system.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
|
@ApiModel(value = "CustomTemplateBusiness对象", description = "自定义模板关联业务表")
|
@TableName("blade_custom_template_business")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/entity/CustomTemplateBusiness.class */
|
public class CustomTemplateBusiness {
|
private static final long serialVersionUID = 1;
|
private Long id;
|
private Long templateId;
|
private Long relationId;
|
@ApiModelProperty("业务类型 1:计划工单,2:产品")
|
private Integer businessType;
|
|
public CustomTemplateBusiness setId(final Long id) {
|
this.id = id;
|
return this;
|
}
|
|
public CustomTemplateBusiness setTemplateId(final Long templateId) {
|
this.templateId = templateId;
|
return this;
|
}
|
|
public CustomTemplateBusiness setRelationId(final Long relationId) {
|
this.relationId = relationId;
|
return this;
|
}
|
|
public CustomTemplateBusiness setBusinessType(final Integer businessType) {
|
this.businessType = businessType;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof CustomTemplateBusiness) {
|
CustomTemplateBusiness other = (CustomTemplateBusiness) o;
|
if (other.canEqual(this)) {
|
Object this$id = getId();
|
Object other$id = other.getId();
|
if (this$id == null) {
|
if (other$id != null) {
|
return false;
|
}
|
} else if (!this$id.equals(other$id)) {
|
return false;
|
}
|
Object this$templateId = getTemplateId();
|
Object other$templateId = other.getTemplateId();
|
if (this$templateId == null) {
|
if (other$templateId != null) {
|
return false;
|
}
|
} else if (!this$templateId.equals(other$templateId)) {
|
return false;
|
}
|
Object this$relationId = getRelationId();
|
Object other$relationId = other.getRelationId();
|
if (this$relationId == null) {
|
if (other$relationId != null) {
|
return false;
|
}
|
} else if (!this$relationId.equals(other$relationId)) {
|
return false;
|
}
|
Object this$businessType = getBusinessType();
|
Object other$businessType = other.getBusinessType();
|
return this$businessType == null ? other$businessType == null : this$businessType.equals(other$businessType);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof CustomTemplateBusiness;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $templateId = getTemplateId();
|
int result2 = (result * 59) + ($templateId == null ? 43 : $templateId.hashCode());
|
Object $relationId = getRelationId();
|
int result3 = (result2 * 59) + ($relationId == null ? 43 : $relationId.hashCode());
|
Object $businessType = getBusinessType();
|
return (result3 * 59) + ($businessType == null ? 43 : $businessType.hashCode());
|
}
|
|
public String toString() {
|
return "CustomTemplateBusiness(id=" + getId() + ", templateId=" + getTemplateId() + ", relationId=" + getRelationId() + ", businessType=" + getBusinessType() + ")";
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public Long getTemplateId() {
|
return this.templateId;
|
}
|
|
public Long getRelationId() {
|
return this.relationId;
|
}
|
|
public Integer getBusinessType() {
|
return this.businessType;
|
}
|
}
|