package cn.iocoder.yudao.module.system.controller.admin.statistics.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 RobotWorkingHoursStatisticsPageReqVO extends PageParam {

    @Schema(description = "仓库点位地图表id", example = "28478")
    private Long positionMapId;

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

    @Schema(description = "时长,单位分钟")
    private Long duration;

    @Schema(description = "类型(0:空闲时长, 1:任务时长, 2:充电时长)", example = "1")
    private Integer durationType;

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

}