刘小明
2024-06-24 03ec5826348fe924243eb797559aef91afa98086
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
package com.dy.pmsStation.assemblyStep;
 
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.*;
 
@Data
@EqualsAndHashCode(callSuper = false)
@ToString(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class QueryVo{
    @NotEmpty(message = "设备编号不能为空")
    public String deviceNo;
    @NotNull(message = "任务编号不能为空")
    public String taskId;
    @NotNull(message = "状态不能为空")
    public String status;
    /**
     * 测试或品检返回的错误信息
     */
    public String errorMsg;
    /**
     * 辅助人员
     */
    public String assistants;
 
    public void setTaskId(String taskId) {
        taskId = taskId.replace("", "103");
        this.taskId = taskId;
    }
}