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

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * @Author 蔡文强
 * @Date 2023/11/29 10:56
 * @Description 用户绑定房产Dto
 */
@Data
@ApiModel(value = "PropertyUserHouseDto对象", description = "用户绑定房产Dto")
public class PropertyUserHouseDto {

    /**
     * 房源ID
     */
    @ApiModelProperty(name = "houseId", value = "房源ID")
    @NotNull(message = "房源ID不能为空")
    private Long houseId;
    /**
     * 身份(1:业主 2:成员 3:租客)
     */
    @ApiModelProperty(name = "identity", value = "身份(1:业主 2:成员 3:租客)")
    @NotNull(message = "身份不能为空")
    private Integer identity;
    /**
     * 姓名
     */
    @ApiModelProperty(name = "userName", value = "姓名")
    @NotBlank(message = "姓名不能为空")
    private String userName;
    /**
     * 手机号
     */
    @ApiModelProperty(name = "userPhone", value = "手机号")
    @NotBlank(message = "手机号不能为空")
    private String userPhone;
    /**
     * 业主姓名
     */
    @ApiModelProperty(name = "ownerName", value = "业主姓名")
    private String ownerName;
    /**
     * 业主手机号
     */
    @ApiModelProperty(name = "ownerPhone", value = "业主手机号")
    private String ownerPhone;
    /**
     * 与业主关系
     */
    @ApiModelProperty(name = "relation", value = "与业主关系")
    private String relation;

}
