package com.qianwen.smartman.modules.dnc.entity;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
|
@ApiModel(value = "文件目录设定对象", description = "文件目录设定表")
|
public class DncDirectorySettings {
|
@ApiModelProperty("拼接方式:1 拼接在文件名前 2 拼接文件名后")
|
private Integer splicingMethod;
|
@ApiModelProperty("拼接来源: 0 工艺包目录 1 工艺包属性")
|
private Integer sourceOfSplicing;
|
@ApiModelProperty("工艺包拼接内容:1 工艺包名称 2 工艺包编号")
|
private Integer bagSplicingContent;
|
@ApiModelProperty("目录拼接内容:其他任意数字 (-1: 最后一层)")
|
private Integer dirSplicingContent;
|
@ApiModelProperty("拼接符号")
|
private String spliceSymbol;
|
|
public DncDirectorySettings setSplicingMethod(final Integer splicingMethod) {
|
this.splicingMethod = splicingMethod;
|
return this;
|
}
|
|
public DncDirectorySettings setSourceOfSplicing(final Integer sourceOfSplicing) {
|
this.sourceOfSplicing = sourceOfSplicing;
|
return this;
|
}
|
|
public DncDirectorySettings setBagSplicingContent(final Integer bagSplicingContent) {
|
this.bagSplicingContent = bagSplicingContent;
|
return this;
|
}
|
|
public DncDirectorySettings setDirSplicingContent(final Integer dirSplicingContent) {
|
this.dirSplicingContent = dirSplicingContent;
|
return this;
|
}
|
|
public DncDirectorySettings setSpliceSymbol(final String spliceSymbol) {
|
this.spliceSymbol = spliceSymbol;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof DncDirectorySettings) {
|
DncDirectorySettings other = (DncDirectorySettings) o;
|
if (other.canEqual(this)) {
|
Object this$splicingMethod = getSplicingMethod();
|
Object other$splicingMethod = other.getSplicingMethod();
|
if (this$splicingMethod == null) {
|
if (other$splicingMethod != null) {
|
return false;
|
}
|
} else if (!this$splicingMethod.equals(other$splicingMethod)) {
|
return false;
|
}
|
Object this$sourceOfSplicing = getSourceOfSplicing();
|
Object other$sourceOfSplicing = other.getSourceOfSplicing();
|
if (this$sourceOfSplicing == null) {
|
if (other$sourceOfSplicing != null) {
|
return false;
|
}
|
} else if (!this$sourceOfSplicing.equals(other$sourceOfSplicing)) {
|
return false;
|
}
|
Object this$bagSplicingContent = getBagSplicingContent();
|
Object other$bagSplicingContent = other.getBagSplicingContent();
|
if (this$bagSplicingContent == null) {
|
if (other$bagSplicingContent != null) {
|
return false;
|
}
|
} else if (!this$bagSplicingContent.equals(other$bagSplicingContent)) {
|
return false;
|
}
|
Object this$dirSplicingContent = getDirSplicingContent();
|
Object other$dirSplicingContent = other.getDirSplicingContent();
|
if (this$dirSplicingContent == null) {
|
if (other$dirSplicingContent != null) {
|
return false;
|
}
|
} else if (!this$dirSplicingContent.equals(other$dirSplicingContent)) {
|
return false;
|
}
|
Object this$spliceSymbol = getSpliceSymbol();
|
Object other$spliceSymbol = other.getSpliceSymbol();
|
return this$spliceSymbol == null ? other$spliceSymbol == null : this$spliceSymbol.equals(other$spliceSymbol);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof DncDirectorySettings;
|
}
|
|
public int hashCode() {
|
Object $splicingMethod = getSplicingMethod();
|
int result = (1 * 59) + ($splicingMethod == null ? 43 : $splicingMethod.hashCode());
|
Object $sourceOfSplicing = getSourceOfSplicing();
|
int result2 = (result * 59) + ($sourceOfSplicing == null ? 43 : $sourceOfSplicing.hashCode());
|
Object $bagSplicingContent = getBagSplicingContent();
|
int result3 = (result2 * 59) + ($bagSplicingContent == null ? 43 : $bagSplicingContent.hashCode());
|
Object $dirSplicingContent = getDirSplicingContent();
|
int result4 = (result3 * 59) + ($dirSplicingContent == null ? 43 : $dirSplicingContent.hashCode());
|
Object $spliceSymbol = getSpliceSymbol();
|
return (result4 * 59) + ($spliceSymbol == null ? 43 : $spliceSymbol.hashCode());
|
}
|
|
public String toString() {
|
return "DncDirectorySettings(splicingMethod=" + getSplicingMethod() + ", sourceOfSplicing=" + getSourceOfSplicing() + ", bagSplicingContent=" + getBagSplicingContent() + ", dirSplicingContent=" + getDirSplicingContent() + ", spliceSymbol=" + getSpliceSymbol() + ")";
|
}
|
|
public Integer getSplicingMethod() {
|
return this.splicingMethod;
|
}
|
|
public Integer getSourceOfSplicing() {
|
return this.sourceOfSplicing;
|
}
|
|
public Integer getBagSplicingContent() {
|
return this.bagSplicingContent;
|
}
|
|
public Integer getDirSplicingContent() {
|
return this.dirSplicingContent;
|
}
|
|
public String getSpliceSymbol() {
|
return this.spliceSymbol;
|
}
|
}
|