package com.yuchen.saas.park.api.dto.property;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.nest.springwrap.core.mp.support.Query;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author 蔡文强
 * @Date 2023/11/29 10:56
 * @Description 用户房产列表查询参数
 */
@Data
@ApiModel(value = "PropertyUserHouseQueryDto对象", description = "用户房产列表查询参数")
public class PropertyUserHouseQueryDto extends Query {

    /**
     * 用户平台ID
     */
    @ApiModelProperty(name = "userDetailId", value = "用户平台ID")
    @NotNull(message = "用户平台ID不能为空")
    private Long userDetailId;
    /**
     * 用户手机号
     */
    @ApiModelProperty(name = "userPhone", value = "用户手机号")
    @NotBlank(message = "用户手机号不能为空")
    private String userPhone;
    /**
     * 房源ID
     */
    @ApiModelProperty(name = "houseId", value = "房源ID")
    private Long houseId;

}
