package com.gxwebsoft.house.param;

import com.baomidou.mybatisplus.annotation.TableField;
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.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 房源信息表查询参数
 *
 * @author 科技小王子
 * @since 2023-08-03 18:23:43
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "InfoParam对象", description = "房源信息表查询参数")
public class InfoParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增ID")
    @QueryField(type = QueryType.EQ)
    private Integer houseId;

    @ApiModelProperty(value = "房源标题")
    private String houseTitle;

    @ApiModelProperty(value = "房产所在的城市")
    private String cityByHouse;

    @ApiModelProperty(value = "户型")
    private String houseType;

    @ApiModelProperty(value = "租赁方式")
    private String leaseMethod;

    @ApiModelProperty(value = "租金")
    @QueryField(type = QueryType.EQ)
    private BigDecimal rent;

    @ApiModelProperty(value = "月租金")
    @QueryField(type = QueryType.EQ)
    private BigDecimal monthlyRent;

    @ApiModelProperty(value = "面积")
    private String extent;

    @ApiModelProperty(value = "楼层")
    private String floor;

    @ApiModelProperty(value = "房号")
    private String roomNumber;

    @ApiModelProperty(value = "真实姓名")
    private String realName;

    @ApiModelProperty(value = "联系电话")
    private String phone;

    @ApiModelProperty(value = "进入房屋的密码")
    private String password;

    @ApiModelProperty(value = "房屋朝向")
    private String toward;

    @ApiModelProperty(value = "房屋标签")
    private String houseLabel;

    @ApiModelProperty(value = "图片附件")
    private String files;

    @ApiModelProperty(value = "房源介绍")
    private String content;

    @ApiModelProperty(value = "到期时间")
    private String expirationTime;

    @ApiModelProperty(value = "所在省份")
    private String province;

    @ApiModelProperty(value = "所在城市")
    private String city;

    @ApiModelProperty(value = "所在辖区")
    private String region;

    @ApiModelProperty(value = "所在地区")
    private String area;

    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "备注")
    private String comments;

    @ApiModelProperty(value = "是否实名认证")
    @QueryField(type = QueryType.EQ)
    private Integer authentication;

    @ApiModelProperty(value = "状态 10待审核 20驳回 30通过")
    @QueryField(type = QueryType.EQ)
    private Integer status;

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

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

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

    @ApiModelProperty(value = "昵称")
    @TableField(exist = false)
    private String nickname;

    @ApiModelProperty(value = "用户头像")
    @TableField(exist = false)
    private String avatar;

}
