package com.qianwen.smartman.modules.system.dto;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/dto/ApplicationUpdateDTO.class */
|
public class ApplicationUpdateDTO implements Serializable {
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty("主键")
|
@TableId(value = "id", type = IdType.ASSIGN_ID)
|
private Long id;
|
@ApiModelProperty("应用名称")
|
private String name;
|
@ApiModelProperty("应用Logo")
|
private String logo;
|
@ApiModelProperty("应用系统背景")
|
private String backgroundUrl;
|
@ApiModelProperty("应用系统访问域名")
|
private String domain;
|
@ApiModelProperty("排序")
|
private Integer sort;
|
@ApiModelProperty("备注")
|
private String remark;
|
@ApiModelProperty("是否显示: 1显示 2关闭")
|
private Integer isShow;
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setLogo(final String logo) {
|
this.logo = logo;
|
}
|
|
public void setBackgroundUrl(final String backgroundUrl) {
|
this.backgroundUrl = backgroundUrl;
|
}
|
|
public void setDomain(final String domain) {
|
this.domain = domain;
|
}
|
|
public void setSort(final Integer sort) {
|
this.sort = sort;
|
}
|
|
public void setRemark(final String remark) {
|
this.remark = remark;
|
}
|
|
public void setIsShow(final Integer isShow) {
|
this.isShow = isShow;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ApplicationUpdateDTO) {
|
ApplicationUpdateDTO other = (ApplicationUpdateDTO) 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$sort = getSort();
|
Object other$sort = other.getSort();
|
if (this$sort == null) {
|
if (other$sort != null) {
|
return false;
|
}
|
} else if (!this$sort.equals(other$sort)) {
|
return false;
|
}
|
Object this$isShow = getIsShow();
|
Object other$isShow = other.getIsShow();
|
if (this$isShow == null) {
|
if (other$isShow != null) {
|
return false;
|
}
|
} else if (!this$isShow.equals(other$isShow)) {
|
return false;
|
}
|
Object this$name = getName();
|
Object other$name = other.getName();
|
if (this$name == null) {
|
if (other$name != null) {
|
return false;
|
}
|
} else if (!this$name.equals(other$name)) {
|
return false;
|
}
|
Object this$logo = getLogo();
|
Object other$logo = other.getLogo();
|
if (this$logo == null) {
|
if (other$logo != null) {
|
return false;
|
}
|
} else if (!this$logo.equals(other$logo)) {
|
return false;
|
}
|
Object this$backgroundUrl = getBackgroundUrl();
|
Object other$backgroundUrl = other.getBackgroundUrl();
|
if (this$backgroundUrl == null) {
|
if (other$backgroundUrl != null) {
|
return false;
|
}
|
} else if (!this$backgroundUrl.equals(other$backgroundUrl)) {
|
return false;
|
}
|
Object this$domain = getDomain();
|
Object other$domain = other.getDomain();
|
if (this$domain == null) {
|
if (other$domain != null) {
|
return false;
|
}
|
} else if (!this$domain.equals(other$domain)) {
|
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 ApplicationUpdateDTO;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $sort = getSort();
|
int result2 = (result * 59) + ($sort == null ? 43 : $sort.hashCode());
|
Object $isShow = getIsShow();
|
int result3 = (result2 * 59) + ($isShow == null ? 43 : $isShow.hashCode());
|
Object $name = getName();
|
int result4 = (result3 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $logo = getLogo();
|
int result5 = (result4 * 59) + ($logo == null ? 43 : $logo.hashCode());
|
Object $backgroundUrl = getBackgroundUrl();
|
int result6 = (result5 * 59) + ($backgroundUrl == null ? 43 : $backgroundUrl.hashCode());
|
Object $domain = getDomain();
|
int result7 = (result6 * 59) + ($domain == null ? 43 : $domain.hashCode());
|
Object $remark = getRemark();
|
return (result7 * 59) + ($remark == null ? 43 : $remark.hashCode());
|
}
|
|
public String toString() {
|
return "ApplicationUpdateDTO(id=" + getId() + ", name=" + getName() + ", logo=" + getLogo() + ", backgroundUrl=" + getBackgroundUrl() + ", domain=" + getDomain() + ", sort=" + getSort() + ", remark=" + getRemark() + ", isShow=" + getIsShow() + ")";
|
}
|
|
public ApplicationUpdateDTO(final Long id, final String name, final String logo, final String backgroundUrl, final String domain, final Integer sort, final String remark, final Integer isShow) {
|
this.id = id;
|
this.name = name;
|
this.logo = logo;
|
this.backgroundUrl = backgroundUrl;
|
this.domain = domain;
|
this.sort = sort;
|
this.remark = remark;
|
this.isShow = isShow;
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public String getLogo() {
|
return this.logo;
|
}
|
|
public String getBackgroundUrl() {
|
return this.backgroundUrl;
|
}
|
|
public String getDomain() {
|
return this.domain;
|
}
|
|
public Integer getSort() {
|
return this.sort;
|
}
|
|
public String getRemark() {
|
return this.remark;
|
}
|
|
public Integer getIsShow() {
|
return this.isShow;
|
}
|
}
|