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/I18nDataDTO.class */
|
public class I18nDataDTO {
|
private static final long serialVersionUID = 1;
|
private Long id;
|
@ApiModelProperty("语言标签")
|
private String languageTag;
|
@ApiModelProperty("唯一标识 = 业务:关键词")
|
private String code;
|
@ApiModelProperty("文本值,可以使用 { } 加角标,作为占位符")
|
private String message;
|
@ApiModelProperty("备注")
|
private String remark;
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setLanguageTag(final String languageTag) {
|
this.languageTag = languageTag;
|
}
|
|
public void setCode(final String code) {
|
this.code = code;
|
}
|
|
public void setMessage(final String message) {
|
this.message = message;
|
}
|
|
public void setRemark(final String remark) {
|
this.remark = remark;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof I18nDataDTO) {
|
I18nDataDTO other = (I18nDataDTO) o;
|
if (other.canEqual(this)) {
|
Object this$id = getId();
|
Object other$id = other.getId();
|
if (this$id == null) {
|
if (other$id != null) {
|
return false;
|
}
|
} else if (!this$id.equals(other$id)) {
|
return false;
|
}
|
Object this$languageTag = getLanguageTag();
|
Object other$languageTag = other.getLanguageTag();
|
if (this$languageTag == null) {
|
if (other$languageTag != null) {
|
return false;
|
}
|
} else if (!this$languageTag.equals(other$languageTag)) {
|
return false;
|
}
|
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$message = getMessage();
|
Object other$message = other.getMessage();
|
if (this$message == null) {
|
if (other$message != null) {
|
return false;
|
}
|
} else if (!this$message.equals(other$message)) {
|
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 I18nDataDTO;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $languageTag = getLanguageTag();
|
int result2 = (result * 59) + ($languageTag == null ? 43 : $languageTag.hashCode());
|
Object $code = getCode();
|
int result3 = (result2 * 59) + ($code == null ? 43 : $code.hashCode());
|
Object $message = getMessage();
|
int result4 = (result3 * 59) + ($message == null ? 43 : $message.hashCode());
|
Object $remark = getRemark();
|
return (result4 * 59) + ($remark == null ? 43 : $remark.hashCode());
|
}
|
|
public String toString() {
|
return "I18nDataDTO(id=" + getId() + ", languageTag=" + getLanguageTag() + ", code=" + getCode() + ", message=" + getMessage() + ", remark=" + getRemark() + ")";
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public String getLanguageTag() {
|
return this.languageTag;
|
}
|
|
public String getCode() {
|
return this.code;
|
}
|
|
public String getMessage() {
|
return this.message;
|
}
|
|
public String getRemark() {
|
return this.remark;
|
}
|
}
|