package com.qianwen.smartman.modules.dnc.vo;
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.util.Collection;
|
import javax.validation.constraints.NotNull;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/ChangeFileParentVO.class */
|
public class ChangeFileParentVO {
|
@NotNull
|
private Collection<Long> sourceIdList;
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty(value = "parentId", dataType = "java.lang.String")
|
private Long parentId;
|
|
public void setSourceIdList(final Collection<Long> sourceIdList) {
|
this.sourceIdList = sourceIdList;
|
}
|
|
public void setParentId(final Long parentId) {
|
this.parentId = parentId;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ChangeFileParentVO) {
|
ChangeFileParentVO other = (ChangeFileParentVO) o;
|
if (other.canEqual(this)) {
|
Object this$parentId = getParentId();
|
Object other$parentId = other.getParentId();
|
if (this$parentId == null) {
|
if (other$parentId != null) {
|
return false;
|
}
|
} else if (!this$parentId.equals(other$parentId)) {
|
return false;
|
}
|
Object this$sourceIdList = getSourceIdList();
|
Object other$sourceIdList = other.getSourceIdList();
|
return this$sourceIdList == null ? other$sourceIdList == null : this$sourceIdList.equals(other$sourceIdList);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ChangeFileParentVO;
|
}
|
|
public int hashCode() {
|
Object $parentId = getParentId();
|
int result = (1 * 59) + ($parentId == null ? 43 : $parentId.hashCode());
|
Object $sourceIdList = getSourceIdList();
|
return (result * 59) + ($sourceIdList == null ? 43 : $sourceIdList.hashCode());
|
}
|
|
public String toString() {
|
return "ChangeFileParentVO(sourceIdList=" + getSourceIdList() + ", parentId=" + getParentId() + ")";
|
}
|
|
public Collection<Long> getSourceIdList() {
|
return this.sourceIdList;
|
}
|
|
public Long getParentId() {
|
return this.parentId;
|
}
|
}
|