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