package com.qianwen.smartman.modules.dnc.dto;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import com.qianwen.smartman.modules.dnc.entity.DncArtBag;
|
|
public class ArtFileInformationDTO {
|
@ApiModelProperty("工艺文件目录名称")
|
private String fileSourceNamePath;
|
@ApiModelProperty("文件所在工艺包")
|
private DncArtBag dncArtBag;
|
|
public void setFileSourceNamePath(final String fileSourceNamePath) {
|
this.fileSourceNamePath = fileSourceNamePath;
|
}
|
|
public void setDncArtBag(final DncArtBag dncArtBag) {
|
this.dncArtBag = dncArtBag;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ArtFileInformationDTO) {
|
ArtFileInformationDTO other = (ArtFileInformationDTO) o;
|
if (other.canEqual(this)) {
|
Object this$fileSourceNamePath = getFileSourceNamePath();
|
Object other$fileSourceNamePath = other.getFileSourceNamePath();
|
if (this$fileSourceNamePath == null) {
|
if (other$fileSourceNamePath != null) {
|
return false;
|
}
|
} else if (!this$fileSourceNamePath.equals(other$fileSourceNamePath)) {
|
return false;
|
}
|
Object this$dncArtBag = getDncArtBag();
|
Object other$dncArtBag = other.getDncArtBag();
|
return this$dncArtBag == null ? other$dncArtBag == null : this$dncArtBag.equals(other$dncArtBag);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ArtFileInformationDTO;
|
}
|
|
public int hashCode() {
|
Object $fileSourceNamePath = getFileSourceNamePath();
|
int result = (1 * 59) + ($fileSourceNamePath == null ? 43 : $fileSourceNamePath.hashCode());
|
Object $dncArtBag = getDncArtBag();
|
return (result * 59) + ($dncArtBag == null ? 43 : $dncArtBag.hashCode());
|
}
|
|
public String toString() {
|
return "ArtFileInformationDTO(fileSourceNamePath=" + getFileSourceNamePath() + ", dncArtBag=" + getDncArtBag() + ")";
|
}
|
|
public String getFileSourceNamePath() {
|
return this.fileSourceNamePath;
|
}
|
|
public DncArtBag getDncArtBag() {
|
return this.dncArtBag;
|
}
|
}
|