package com.gxwebsoft.house.param;

import java.math.BigDecimal;

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.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 预约记录表查询参数
 *
 * @author 科技小王子
 * @since 2025-03-05 13:47:14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(name = "HouseReservationParam对象", description = "预约记录表查询参数")
public class HouseReservationParam extends BaseParam {
    private static final long serialVersionUID = 1L;

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

    @Schema(description = "订单号")
    private String logNo;

    @Schema(description = "类型")
    @QueryField(type = QueryType.EQ)
    private Integer type;

    @Schema(description = "付款金额")
    @QueryField(type = QueryType.EQ)
    private BigDecimal money;

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

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

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

    @Schema(description = "联系电话")
    private String phone;

    @Schema(description = "付款时间")
    private String payTime;

    @Schema(description = "付款状态(10未付款 20已付款)")
    @QueryField(type = QueryType.EQ)
    private Integer payStatus;

    @Schema(description = "到期时间")
    private String expirationTime;

    @Schema(description = "所在省份")
    private String province;

    @Schema(description = "所在城市")
    private String city;

    @Schema(description = "所在辖区")
    private String region;

    @Schema(description = "所在地区")
    private String area;

    @Schema(description = "街道地址")
    private String address;

    @Schema(description = "订单是否已结算(0未结算 1已结算)")
    @QueryField(type = QueryType.EQ)
    private Integer isSettled;

    @Schema(description = "排序(数字越小越靠前)")
    @QueryField(type = QueryType.EQ)
    private Integer sortNumber;

    @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 = "昵称")
    @TableField(exist = false)
    private String nickname;

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

}
