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 = "Oss", description = "Oss对象") @TableName("blade_oss") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/resource/entity/Oss.class */ public class Oss extends TenantEntity { private static final long serialVersionUID = 1; @ApiModelProperty("所属分类") private Integer category; @ApiModelProperty("资源编号") private String ossCode; @ApiModelProperty("资源地址") private String endpoint; @ApiModelProperty("accessKey") private String accessKey; @ApiModelProperty("secretKey") private String secretKey; @ApiModelProperty("空间名") private String bucketName; @ApiModelProperty("应用ID") private String appId; @ApiModelProperty("地域简称") private String region; @ApiModelProperty("备注") private String remark; public void setCategory(final Integer category) { this.category = category; } public void setOssCode(final String ossCode) { this.ossCode = ossCode; } public void setEndpoint(final String endpoint) { this.endpoint = endpoint; } public void setAccessKey(final String accessKey) { this.accessKey = accessKey; } public void setSecretKey(final String secretKey) { this.secretKey = secretKey; } public void setBucketName(final String bucketName) { this.bucketName = bucketName; } public void setAppId(final String appId) { this.appId = appId; } public void setRegion(final String region) { this.region = region; } public void setRemark(final String remark) { this.remark = remark; } public String toString() { return "Oss(category=" + getCategory() + ", ossCode=" + getOssCode() + ", endpoint=" + getEndpoint() + ", accessKey=" + getAccessKey() + ", secretKey=" + getSecretKey() + ", bucketName=" + getBucketName() + ", appId=" + getAppId() + ", region=" + getRegion() + ", remark=" + getRemark() + ")"; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof Oss) { Oss other = (Oss) 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$ossCode = getOssCode(); Object other$ossCode = other.getOssCode(); if (this$ossCode == null) { if (other$ossCode != null) { return false; } } else if (!this$ossCode.equals(other$ossCode)) { return false; } Object this$endpoint = getEndpoint(); Object other$endpoint = other.getEndpoint(); if (this$endpoint == null) { if (other$endpoint != null) { return false; } } else if (!this$endpoint.equals(other$endpoint)) { 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$bucketName = getBucketName(); Object other$bucketName = other.getBucketName(); if (this$bucketName == null) { if (other$bucketName != null) { return false; } } else if (!this$bucketName.equals(other$bucketName)) { return false; } Object this$appId = getAppId(); Object other$appId = other.getAppId(); if (this$appId == null) { if (other$appId != null) { return false; } } else if (!this$appId.equals(other$appId)) { return false; } Object this$region = getRegion(); Object other$region = other.getRegion(); if (this$region == null) { if (other$region != null) { return false; } } else if (!this$region.equals(other$region)) { 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 Oss; } public int hashCode() { int result = super.hashCode(); Object $category = getCategory(); int result2 = (result * 59) + ($category == null ? 43 : $category.hashCode()); Object $ossCode = getOssCode(); int result3 = (result2 * 59) + ($ossCode == null ? 43 : $ossCode.hashCode()); Object $endpoint = getEndpoint(); int result4 = (result3 * 59) + ($endpoint == null ? 43 : $endpoint.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 $bucketName = getBucketName(); int result7 = (result6 * 59) + ($bucketName == null ? 43 : $bucketName.hashCode()); Object $appId = getAppId(); int result8 = (result7 * 59) + ($appId == null ? 43 : $appId.hashCode()); Object $region = getRegion(); int result9 = (result8 * 59) + ($region == null ? 43 : $region.hashCode()); Object $remark = getRemark(); return (result9 * 59) + ($remark == null ? 43 : $remark.hashCode()); } public Integer getCategory() { return this.category; } public String getOssCode() { return this.ossCode; } public String getEndpoint() { return this.endpoint; } public String getAccessKey() { return this.accessKey; } public String getSecretKey() { return this.secretKey; } public String getBucketName() { return this.bucketName; } public String getAppId() { return this.appId; } public String getRegion() { return this.region; } public String getRemark() { return this.remark; } }