package com.ssyf.module.robot.domain.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 机器人手动控制查询参数
 * 
 * @author system
 * @since 1.0
 */
@Data
@ApiModel(value = "机器人手动控制查询参数")
public class RobotManualControlQuery {

    @ApiModelProperty(value = "机器人UUID")
    @NotNull(message = "机器人UUID不能为空")
    private String robotUuid;

    @ApiModelProperty(value = "控制时长（分钟）", example = "30")
    private Integer durationMinutes;

    @ApiModelProperty(value = "直播间ID")
    private Integer roomId;

    @ApiModelProperty(value = "礼物ID")
    private Integer giftId;

    @ApiModelProperty(value = "消息内容")
    private String message;

    @ApiModelProperty(value = "是否刷新数据")
    private boolean refresh;

    @ApiModelProperty(value = "截止时间（毫秒时间戳）")
    private Long endTime;

    @ApiModelProperty(value = "时间范围（秒）")
    private Integer timeRange;

    @ApiModelProperty(value = "跳过的消息数量")
    private Integer skip;

    @ApiModelProperty(value = "获取的消息数量")
    private Integer limit;

    @ApiModelProperty(value = "起始时间戳（毫秒），用于增量同步")
    private Long sinceTimestamp;
}