package com.qianwen.smartman.modules.resource.entity; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import com.qianwen.core.tenant.mp.TenantEntity; @ApiModel(value = "Sms", description = "短信配置表") @TableName("blade_sms") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/resource/entity/Sms.class */ public class Sms extends TenantEntity { private static final long serialVersionUID = 1; @ApiModelProperty("资源编号") private String smsCode; @ApiModelProperty("模板ID") private String templateId; @ApiModelProperty("分类") private Integer category; @ApiModelProperty("accessKey") private String accessKey; @ApiModelProperty("secretKey") private String secretKey; @ApiModelProperty("regionId") private String regionId; @ApiModelProperty("短信签名") private String signName; @ApiModelProperty("备注") private String remark; public void setSmsCode(final String smsCode) { this.smsCode = smsCode; } public void setTemplateId(final String templateId) { this.templateId = templateId; } public void setCategory(final Integer category) { this.category = category; } public void setAccessKey(final String accessKey) { this.accessKey = accessKey; } public void setSecretKey(final String secretKey) { this.secretKey = secretKey; } public void setRegionId(final String regionId) { this.regionId = regionId; } public void setSignName(final String signName) { this.signName = signName; } public void setRemark(final String remark) { this.remark = remark; } public String toString() { return "Sms(smsCode=" + getSmsCode() + ", templateId=" + getTemplateId() + ", category=" + getCategory() + ", accessKey=" + getAccessKey() + ", secretKey=" + getSecretKey() + ", regionId=" + getRegionId() + ", signName=" + getSignName() + ", remark=" + getRemark() + ")"; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof Sms) { Sms other = (Sms) o; if (other.canEqual(this) && super.equals(o)) { Object this$category = getCategory(); Object other$category = other.getCategory(); if (this$category == null) { if (other$category != null) { return false; } } else if (!this$category.equals(other$category)) { return false; } Object this$smsCode = getSmsCode(); Object other$smsCode = other.getSmsCode(); if (this$smsCode == null) { if (other$smsCode != null) { return false; } } else if (!this$smsCode.equals(other$smsCode)) { 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$accessKey = getAccessKey(); Object other$accessKey = other.getAccessKey(); if (this$accessKey == null) { if (other$accessKey != null) { return false; } } else if (!this$accessKey.equals(other$accessKey)) { return false; } Object this$secretKey = getSecretKey(); Object other$secretKey = other.getSecretKey(); if (this$secretKey == null) { if (other$secretKey != null) { return false; } } else if (!this$secretKey.equals(other$secretKey)) { return false; } Object this$regionId = getRegionId(); Object other$regionId = other.getRegionId(); if (this$regionId == null) { if (other$regionId != null) { return false; } } else if (!this$regionId.equals(other$regionId)) { return false; } Object this$signName = getSignName(); Object other$signName = other.getSignName(); if (this$signName == null) { if (other$signName != null) { return false; } } else if (!this$signName.equals(other$signName)) { return false; } Object this$remark = getRemark(); Object other$remark = other.getRemark(); return this$remark == null ? other$remark == null : this$remark.equals(other$remark); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof Sms; } public int hashCode() { int result = super.hashCode(); Object $category = getCategory(); int result2 = (result * 59) + ($category == null ? 43 : $category.hashCode()); Object $smsCode = getSmsCode(); int result3 = (result2 * 59) + ($smsCode == null ? 43 : $smsCode.hashCode()); Object $templateId = getTemplateId(); int result4 = (result3 * 59) + ($templateId == null ? 43 : $templateId.hashCode()); Object $accessKey = getAccessKey(); int result5 = (result4 * 59) + ($accessKey == null ? 43 : $accessKey.hashCode()); Object $secretKey = getSecretKey(); int result6 = (result5 * 59) + ($secretKey == null ? 43 : $secretKey.hashCode()); Object $regionId = getRegionId(); int result7 = (result6 * 59) + ($regionId == null ? 43 : $regionId.hashCode()); Object $signName = getSignName(); int result8 = (result7 * 59) + ($signName == null ? 43 : $signName.hashCode()); Object $remark = getRemark(); return (result8 * 59) + ($remark == null ? 43 : $remark.hashCode()); } public String getSmsCode() { return this.smsCode; } public String getTemplateId() { return this.templateId; } public Integer getCategory() { return this.category; } public String getAccessKey() { return this.accessKey; } public String getSecretKey() { return this.secretKey; } public String getRegionId() { return this.regionId; } public String getSignName() { return this.signName; } public String getRemark() { return this.remark; } }