package com.cy.guoyan.admin.module.ai.controller.admin.chatapp.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.cy.guoyan.admin.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.cy.guoyan.admin.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - AI 应用分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ChatAppPageReqVO extends PageParam {

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

    @Schema(description = "应用名称", example = "王五")
    private String appName;

    @Schema(description = "应用key")
    private String appKey;

    @Schema(description = "是否联网", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer networking;

    @Schema(description = "1 dify 2 ragflow", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer appType;

}