package com.qianwen.smartman.modules.dnc.vo.sync;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import java.util.List;
|
import javax.validation.constraints.NotBlank;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/sync/SyncArtCatalogVO.class */
|
public class SyncArtCatalogVO implements Serializable {
|
@NotBlank(message = "dnc.catalog.can.not.be.empty")
|
@ApiModelProperty("目录")
|
private String catalog;
|
@ApiModelProperty("工艺包")
|
private List<SyncArtBagVO> artBag;
|
|
public void setCatalog(final String catalog) {
|
this.catalog = catalog;
|
}
|
|
public void setArtBag(final List<SyncArtBagVO> artBag) {
|
this.artBag = artBag;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof SyncArtCatalogVO) {
|
SyncArtCatalogVO other = (SyncArtCatalogVO) o;
|
if (other.canEqual(this)) {
|
Object this$catalog = getCatalog();
|
Object other$catalog = other.getCatalog();
|
if (this$catalog == null) {
|
if (other$catalog != null) {
|
return false;
|
}
|
} else if (!this$catalog.equals(other$catalog)) {
|
return false;
|
}
|
Object this$artBag = getArtBag();
|
Object other$artBag = other.getArtBag();
|
return this$artBag == null ? other$artBag == null : this$artBag.equals(other$artBag);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof SyncArtCatalogVO;
|
}
|
|
public int hashCode() {
|
Object $catalog = getCatalog();
|
int result = (1 * 59) + ($catalog == null ? 43 : $catalog.hashCode());
|
Object $artBag = getArtBag();
|
return (result * 59) + ($artBag == null ? 43 : $artBag.hashCode());
|
}
|
|
public String toString() {
|
return "SyncArtCatalogVO(catalog=" + getCatalog() + ", artBag=" + getArtBag() + ")";
|
}
|
|
public String getCatalog() {
|
return this.catalog;
|
}
|
|
public List<SyncArtBagVO> getArtBag() {
|
return this.artBag;
|
}
|
}
|