package com.gxwebsoft.house.param;

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 = "HouseMessageParam对象", description = "AI找房留言查询参数")
public class HouseMessageParam extends BaseParam {
    private static final long serialVersionUID = 1L;

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

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

    @Schema(description = "姓名")
    private String realName;

    @Schema(description = "手机号")
    private String phone;

    @Schema(description = "微信号")
    private String wechat;

    @Schema(description = "来源")
    private String source;

    @Schema(description = "备注")
    private String comments;

    @Schema(description = "状态 0未处理 1已处理")
    @QueryField(type = QueryType.EQ)
    private Integer status;

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

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