package com.gxwebsoft.house.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * AI找房常见问题
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "HouseFaq对象", description = "AI找房常见问题")
public class HouseFaq implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键ID")
    @TableId(value = "faq_id", type = IdType.AUTO)
    private Integer faqId;

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

    @Schema(description = "关键词，多个用逗号分隔")
    private String keywords;

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

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

    @Schema(description = "排序号")
    private Integer sortNumber;

    @Schema(description = "状态 0正常 1禁用")
    private Integer status;

    @Schema(description = "创建用户ID")
    private Integer userId;

    @Schema(description = "是否删除, 0否, 1是")
    @TableLogic
    private Integer deleted;

    @Schema(description = "租户ID")
    private Integer tenantId;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "更新时间")
    private Date updateTime;
}
