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
package com.qianwen.smartman.modules.dnc.entity;
 
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.qianwen.core.mp.base.BaseEntity;
 
@ApiModel(value = "DncWsRelationTd对象", description = "FTP目录与工位关系表")
@TableName("blade_dnc_ws_relation_td")
public class DncWsRelationTd extends BaseEntity {
    private static final long serialVersionUID = 1;
    @ApiModelProperty("租户ID")
    private String tenantId;
    @ApiModelProperty("FTP目录id")
    private Long transferDirectorId;
    @ApiModelProperty("工位id")
    private Long workstationId;
 
    public DncWsRelationTd setTenantId(final String tenantId) {
        this.tenantId = tenantId;
        return this;
    }
 
    public DncWsRelationTd setTransferDirectorId(final Long transferDirectorId) {
        this.transferDirectorId = transferDirectorId;
        return this;
    }
 
    public DncWsRelationTd setWorkstationId(final Long workstationId) {
        this.workstationId = workstationId;
        return this;
    }
 
    public String toString() {
        return "DncWsRelationTd(tenantId=" + getTenantId() + ", transferDirectorId=" + getTransferDirectorId() + ", workstationId=" + getWorkstationId() + ")";
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof DncWsRelationTd) {
            DncWsRelationTd other = (DncWsRelationTd) o;
            if (other.canEqual(this) && super.equals(o)) {
                Object this$transferDirectorId = getTransferDirectorId();
                Object other$transferDirectorId = other.getTransferDirectorId();
                if (this$transferDirectorId == null) {
                    if (other$transferDirectorId != null) {
                        return false;
                    }
                } else if (!this$transferDirectorId.equals(other$transferDirectorId)) {
                    return false;
                }
                Object this$workstationId = getWorkstationId();
                Object other$workstationId = other.getWorkstationId();
                if (this$workstationId == null) {
                    if (other$workstationId != null) {
                        return false;
                    }
                } else if (!this$workstationId.equals(other$workstationId)) {
                    return false;
                }
                Object this$tenantId = getTenantId();
                Object other$tenantId = other.getTenantId();
                return this$tenantId == null ? other$tenantId == null : this$tenantId.equals(other$tenantId);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof DncWsRelationTd;
    }
 
    public int hashCode() {
        int result = super.hashCode();
        Object $transferDirectorId = getTransferDirectorId();
        int result2 = (result * 59) + ($transferDirectorId == null ? 43 : $transferDirectorId.hashCode());
        Object $workstationId = getWorkstationId();
        int result3 = (result2 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
        Object $tenantId = getTenantId();
        return (result3 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
    }
 
    public String getTenantId() {
        return this.tenantId;
    }
 
    public Long getTransferDirectorId() {
        return this.transferDirectorId;
    }
 
    public Long getWorkstationId() {
        return this.workstationId;
    }
}