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 = "AiCloudDocParam对象", description = "AI云文档目录表查询参数")
public class AiCloudDocParam extends BaseParam {
    private static final long serialVersionUID = 1L;

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

    @Schema(description = "云目录ID")
    @QueryField(type = QueryType.EQ)
    private String categoryId;

    @Schema(description = "单位ID")
    @QueryField(type = QueryType.EQ)
    private Integer companyId;

    @Schema(description = "上级目录ID")
    @QueryField(type = QueryType.EQ)
    private Integer parentId;

    @Schema(description = "目录名称")
    private String name;

    @Schema(description = "排序(数字越小越靠前)")
    private Integer sortNumber;

    @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 userId;

}
