package cn.iocoder.yudao.module.system.controller.admin.remote.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 远遥任务转移记录分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ControllerTaskTransferLogPageReqVO extends PageParam {

    @Schema(description = "远遥的设备IP")
    private String remoteIp;

    @Schema(description = "robot_task_detail的id", example = "3495")
    private Long taskDetailId;

    @Schema(description = "任务转移时的任务阶段(0:待执行、1：前往取货、2：取货中、3：前往放货、4：放货中、5：结束、6：移动中、7:正在充电、8:取消、9:人工完成、10:异常)")
    private Long taskStage;

    @Schema(description = "任务号")
    private String taskNo;

    @Schema(description = "AGV编号")
    private String robotNo;

    @Schema(description = "转移时选择的远遥模式(0:自动模式, 1:手动模式, 2:自由模式)")
    private Integer remoteMode;

    @Schema(description = "转移后的AGV编号")
    private String transferRobotNo;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}