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