package com.gxwebsoft.ai.param;

import com.gxwebsoft.common.core.annotation.QueryField;
import com.gxwebsoft.common.core.annotation.QueryType;
import com.gxwebsoft.common.core.web.BaseParam;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * AI审计历史记录表查询参数
 *
 * @author yc
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(name = "AiHistoryParam对象", description = "AI审计历史记录表查询参数")
public class AiHistoryParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键ID")
    @QueryField(type = QueryType.EQ)
    private Long id;

    @Schema(description = "项目ID")
    @QueryField(type = QueryType.EQ)
    private Long projectId;

    @Schema(description = "请求哈希值")
    @QueryField(type = QueryType.EQ)
    private String requestHash;

    @Schema(description = "接口名称")
    @QueryField(type = QueryType.EQ)
    private String interfaceName;

    @Schema(description = "用户ID")
    @QueryField(type = QueryType.EQ)
    private Integer userId;

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "状态, 0正常, 1冻结")
    @QueryField(type = QueryType.EQ)
    private Integer status;

    @Schema(description = "是否删除, 0否, 1是")
    @QueryField(type = QueryType.EQ)
    private Integer deleted;

    @Schema(description = "租户id")
    @QueryField(type = QueryType.EQ)
    private Integer tenantId;
}