| | |
| | | |
| | | import com.alibaba.fastjson2.annotation.JSONField; |
| | | import com.alibaba.fastjson2.writer.ObjectWriterImplToString; |
| | | import com.dy.common.webUtil.QueryConditionVo; |
| | | import jakarta.validation.constraints.NotNull; |
| | | import lombok.*; |
| | | |
| | | import java.util.Date; |
| | | |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = false) |
| | |
| | | @Builder |
| | | public class QueryVo { |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | public Long id; |
| | | public Long workId; |
| | | /** |
| | | * 用户实体编号 |
| | | */ |
| | | @NotNull(message="[用户实体编号]不能为空") |
| | | public String userId; |
| | | /** |
| | | * 生产线实体编号 |
| | | */ |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | public Long lineId; |
| | | /** |
| | | * 工站实体编号 |
| | | */ |
| | | @NotNull(message="[工站实体编号]不能为空") |
| | | public String stationId; |
| | | /** |
| | | * 组装生产任务实体编号 |
| | | */ |
| | | @NotNull(message="[组装生产任务实体编号]不能为空") |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | public Long planId; |
| | | /** |
| | | * 生产流程实体编号 |
| | | */ |
| | | @NotNull(message="[生产流程实体编号]不能为空") |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | public Long processId; |
| | | /** |
| | | * 生产流程节点实体编号 |
| | | */ |
| | | @NotNull(message="[生产流程节点实体编号]不能为空") |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | public Long nodeId; |
| | | /** |
| | | * 任务认领时间 |
| | | */ |
| | | public Date dt; |
| | | /** |
| | | * 状态:正常(1)、结束(0) |
| | | */ |
| | | public Integer status; |
| | | /** |
| | | * 开始时间 |
| | | */ |
| | | public Date startTime; |
| | | /** |
| | | * 结束时间 |
| | | */ |
| | | public Date endTime; |
| | | /** |
| | | * 辅助人员:辅助员工id,以逗号隔开 |
| | | */ |
| | | public String assistants; |
| | | } |