package cn.iocoder.yudao.module.llm.controller.admin.dataset.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 javax.validation.constraints.NotNull;
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 DatasetQuestionPageReqVO extends PageParam {

    @Schema(description = "数据集ID", example = "15672")
    @NotNull(message = "数据集ID不能为空")
    private Long datasetId;

    @Schema(description = "数据文件ID", example = "23062")
    private Long datasetFilesId;

    @Schema(description = "问题内容")
    private String question;

    @Schema(description = "标注状态，使用字典（llm_dataset_mark_status）", example = "1")
    private Integer status;

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

}