package com.gxwebsoft.house.param;

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

/**
 * AI找房常见问题查询参数
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(name = "HouseFaqParam对象", description = "AI找房常见问题查询参数")
public class HouseFaqParam extends BaseParam {
    private static final long serialVersionUID = 1L;

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

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

    @Schema(description = "关键词")
    private String keywordsText;

    @Schema(description = "回答")
    private String answer;

    @Schema(description = "分类")
    private String category;

    @Schema(description = "排序号")
    @QueryField(type = QueryType.EQ)
    private Integer sortNumber;

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

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

    private Integer tenantId;

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

    @Schema(description = "语义搜索原句")
    @TableField(exist = false)
    private String queryText;
}
