yangys
2024-05-07 9b677ea5c6978788d135fc15da3d78c5a93789c2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
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;
    }
}