package com.pavis.admin.aigc.model.query;

import lombok.Data;

import io.swagger.v3.oas.annotations.media.Schema;

import top.continew.starter.data.core.annotation.Query;
import top.continew.starter.data.core.enums.QueryType;
import java.io.Serial;
import java.io.Serializable;
import java.time.*;

/**
 * AIGC模型配置查询条件
 *
 * @author semi
 * @since 2025/05/26 17:28
 */
@Data
@Schema(description = "AIGC模型配置查询条件")
public class ModelQuery implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 模型类型:Chat/Embedding/Image/Video/Audio
     */
    @Schema(description = "模型类型:Chat/Embedding/Image/Video/Audio")
    @Query(type = QueryType.EQ)
    private String type;

    /**
     * 官方模型名称
     */
    @Schema(description = "官方模型名称")
    @Query(type = QueryType.EQ)
    private String model;

    /**
     * 服务商
     */
    @Schema(description = "服务商")
    @Query(type = QueryType.EQ)
    private String provider;

    /**
     * 自定义模型别名
     */
    @Schema(description = "自定义模型别名")
    @Query(type = QueryType.EQ)
    private String name;

    /**
     * 创建人
     */
    @Schema(description = "创建人")
    @Query(type = QueryType.EQ)
    private Long createUser;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    @Query(type = QueryType.EQ)
    private LocalDateTime createTime;
}