package com.qianwen.smartman.modules.cps.vo;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
|
@ApiModel(description = "APP信息")
|
public class AppVO implements Serializable {
|
@ApiModelProperty(name = "编码")
|
private Integer code;
|
@ApiModelProperty("描述")
|
private String desc;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/AppVO$AppVOBuilder.class */
|
public static class AppVOBuilder {
|
private Integer code;
|
private String desc;
|
|
AppVOBuilder() {
|
}
|
|
public AppVOBuilder code(final Integer code) {
|
this.code = code;
|
return this;
|
}
|
|
public AppVOBuilder desc(final String desc) {
|
this.desc = desc;
|
return this;
|
}
|
|
public AppVO build() {
|
return new AppVO(this.code, this.desc);
|
}
|
|
public String toString() {
|
return "AppVO.AppVOBuilder(code=" + this.code + ", desc=" + this.desc + ")";
|
}
|
}
|
|
public void setCode(final Integer code) {
|
this.code = code;
|
}
|
|
public void setDesc(final String desc) {
|
this.desc = desc;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof AppVO) {
|
AppVO other = (AppVO) 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$desc = getDesc();
|
Object other$desc = other.getDesc();
|
return this$desc == null ? other$desc == null : this$desc.equals(other$desc);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof AppVO;
|
}
|
|
public int hashCode() {
|
Object $code = getCode();
|
int result = (1 * 59) + ($code == null ? 43 : $code.hashCode());
|
Object $desc = getDesc();
|
return (result * 59) + ($desc == null ? 43 : $desc.hashCode());
|
}
|
|
public String toString() {
|
return "AppVO(code=" + getCode() + ", desc=" + getDesc() + ")";
|
}
|
|
public static AppVOBuilder builder() {
|
return new AppVOBuilder();
|
}
|
|
public AppVO() {
|
}
|
|
public AppVO(final Integer code, final String desc) {
|
this.code = code;
|
this.desc = desc;
|
}
|
|
public Integer getCode() {
|
return this.code;
|
}
|
|
public String getDesc() {
|
return this.desc;
|
}
|
}
|