package com.qianwen.smartman.modules.system.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 = "CustomTemplate对象", description = "自定义字段模板表") @TableName("blade_custom_template") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/entity/CustomTemplate.class */ public class CustomTemplate extends BaseEntity { private static final long serialVersionUID = 1; @ApiModelProperty("所属租户") private String tenantId; @ApiModelProperty("计划类型名称") private String templateName; @ApiModelProperty("业务类型 1:计划工单,2:产品") private Integer businessType; @ApiModelProperty("是否默认 1默认") private Integer defaultTemplate; public CustomTemplate setTenantId(final String tenantId) { this.tenantId = tenantId; return this; } public CustomTemplate setTemplateName(final String templateName) { this.templateName = templateName; return this; } public CustomTemplate setBusinessType(final Integer businessType) { this.businessType = businessType; return this; } public CustomTemplate setDefaultTemplate(final Integer defaultTemplate) { this.defaultTemplate = defaultTemplate; return this; } public String toString() { return "CustomTemplate(tenantId=" + getTenantId() + ", templateName=" + getTemplateName() + ", businessType=" + getBusinessType() + ", defaultTemplate=" + getDefaultTemplate() + ")"; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof CustomTemplate) { CustomTemplate other = (CustomTemplate) o; if (other.canEqual(this) && super.equals(o)) { 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$defaultTemplate = getDefaultTemplate(); Object other$defaultTemplate = other.getDefaultTemplate(); if (this$defaultTemplate == null) { if (other$defaultTemplate != null) { return false; } } else if (!this$defaultTemplate.equals(other$defaultTemplate)) { 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$templateName = getTemplateName(); Object other$templateName = other.getTemplateName(); return this$templateName == null ? other$templateName == null : this$templateName.equals(other$templateName); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof CustomTemplate; } public int hashCode() { int result = super.hashCode(); Object $businessType = getBusinessType(); int result2 = (result * 59) + ($businessType == null ? 43 : $businessType.hashCode()); Object $defaultTemplate = getDefaultTemplate(); int result3 = (result2 * 59) + ($defaultTemplate == null ? 43 : $defaultTemplate.hashCode()); Object $tenantId = getTenantId(); int result4 = (result3 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode()); Object $templateName = getTemplateName(); return (result4 * 59) + ($templateName == null ? 43 : $templateName.hashCode()); } public String getTenantId() { return this.tenantId; } public String getTemplateName() { return this.templateName; } public Integer getBusinessType() { return this.businessType; } public Integer getDefaultTemplate() { return this.defaultTemplate; } }