package com.qianwen.smartman.modules.system.dto; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @ApiModel(description = "国际化信息唯一值") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/dto/I18nDataUnique.class */ public class I18nDataUnique { private static final long serialVersionUID = 1; @ApiModelProperty("国际化标识") private String code; @ApiModelProperty("语言标签") private String languageTag; public void setCode(final String code) { this.code = code; } public void setLanguageTag(final String languageTag) { this.languageTag = languageTag; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof I18nDataUnique) { I18nDataUnique other = (I18nDataUnique) o; if (other.canEqual(this)) { Object this$code = getCode(); Object other$code = other.getCode(); if (this$code == null) { if (other$code != null) { return false; } } else if (!this$code.equals(other$code)) { return false; } Object this$languageTag = getLanguageTag(); Object other$languageTag = other.getLanguageTag(); return this$languageTag == null ? other$languageTag == null : this$languageTag.equals(other$languageTag); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof I18nDataUnique; } public int hashCode() { Object $code = getCode(); int result = (1 * 59) + ($code == null ? 43 : $code.hashCode()); Object $languageTag = getLanguageTag(); return (result * 59) + ($languageTag == null ? 43 : $languageTag.hashCode()); } public String toString() { return "I18nDataUnique(code=" + getCode() + ", languageTag=" + getLanguageTag() + ")"; } public I18nDataUnique() { } public I18nDataUnique(final String code, final String languageTag) { this.code = code; this.languageTag = languageTag; } public String getCode() { return this.code; } public String getLanguageTag() { return this.languageTag; } }