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
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;
    }
}