Fancy
2024-06-19 c3d68f210192e2ec5bd06e4d21ede0bd8305fd63
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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
package com.dy.pmsGlobal.pojoSta;
 
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
 
/**
 * 设备最新状态表
 * @TableName sta_device_last
 */
@Data
public class StaDeviceLast implements Serializable {
    /**
     * 
     */
    private Long id;
 
    /**
     * 设备码
     */
    private String equipNo;
 
    /**
     * 计划id
     */
    private String planId;
 
    /**
     * 工站id
     */
    private String stationId;
 
    /**
     * 当前节点
     */
    private String currNode;
 
    /**
     * 下一节点
     */
    private String nextNode;
 
    /**
     * 状态: 1:组装中,2:完成,3:维修,4:报废
     */
    private Integer status;
 
    /**
     * 1:成功,2:失败
     */
    private Integer result;
 
    /**
     * 维修节点返回的错误码
     */
    private String errorCode;
 
    /**
     * 备注
     */
    private String memo;
 
    /**
     * 辅助人员:辅助员工id,以逗号隔开
     */
    private String assistants;
 
    /**
     * 创建时间
     */
    private Date createTime;
 
    /**
     * 
     */
    private Date updatedDate;
 
    /**
     * 操作员id
     */
    private String updatedBy;
 
    /**
     * 入站时间(上一节点的出站时间)
     */
    private Date inStationTime;
 
    private static final long serialVersionUID = 1L;
 
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        StaDeviceLast other = (StaDeviceLast) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getEquipNo() == null ? other.getEquipNo() == null : this.getEquipNo().equals(other.getEquipNo()))
            && (this.getPlanId() == null ? other.getPlanId() == null : this.getPlanId().equals(other.getPlanId()))
            && (this.getStationId() == null ? other.getStationId() == null : this.getStationId().equals(other.getStationId()))
            && (this.getCurrNode() == null ? other.getCurrNode() == null : this.getCurrNode().equals(other.getCurrNode()))
            && (this.getNextNode() == null ? other.getNextNode() == null : this.getNextNode().equals(other.getNextNode()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getResult() == null ? other.getResult() == null : this.getResult().equals(other.getResult()))
            && (this.getErrorCode() == null ? other.getErrorCode() == null : this.getErrorCode().equals(other.getErrorCode()))
            && (this.getMemo() == null ? other.getMemo() == null : this.getMemo().equals(other.getMemo()))
            && (this.getAssistants() == null ? other.getAssistants() == null : this.getAssistants().equals(other.getAssistants()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getUpdatedDate() == null ? other.getUpdatedDate() == null : this.getUpdatedDate().equals(other.getUpdatedDate()))
            && (this.getUpdatedBy() == null ? other.getUpdatedBy() == null : this.getUpdatedBy().equals(other.getUpdatedBy()))
            && (this.getInStationTime() == null ? other.getInStationTime() == null : this.getInStationTime().equals(other.getInStationTime()));
    }
 
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getEquipNo() == null) ? 0 : getEquipNo().hashCode());
        result = prime * result + ((getPlanId() == null) ? 0 : getPlanId().hashCode());
        result = prime * result + ((getStationId() == null) ? 0 : getStationId().hashCode());
        result = prime * result + ((getCurrNode() == null) ? 0 : getCurrNode().hashCode());
        result = prime * result + ((getNextNode() == null) ? 0 : getNextNode().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getResult() == null) ? 0 : getResult().hashCode());
        result = prime * result + ((getErrorCode() == null) ? 0 : getErrorCode().hashCode());
        result = prime * result + ((getMemo() == null) ? 0 : getMemo().hashCode());
        result = prime * result + ((getAssistants() == null) ? 0 : getAssistants().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getUpdatedDate() == null) ? 0 : getUpdatedDate().hashCode());
        result = prime * result + ((getUpdatedBy() == null) ? 0 : getUpdatedBy().hashCode());
        result = prime * result + ((getInStationTime() == null) ? 0 : getInStationTime().hashCode());
        return result;
    }
 
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", equipNo=").append(equipNo);
        sb.append(", planId=").append(planId);
        sb.append(", stationId=").append(stationId);
        sb.append(", currNode=").append(currNode);
        sb.append(", nextNode=").append(nextNode);
        sb.append(", status=").append(status);
        sb.append(", result=").append(result);
        sb.append(", errorCode=").append(errorCode);
        sb.append(", memo=").append(memo);
        sb.append(", assistants=").append(assistants);
        sb.append(", createTime=").append(createTime);
        sb.append(", updatedDate=").append(updatedDate);
        sb.append(", updatedBy=").append(updatedBy);
        sb.append(", inStationTime=").append(inStationTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}