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;
import java.util.Date;

/**
 * @Author 蔡文强
 * @Date 2023/11/29 10:56
 * @Description 房产住户Dto
 */
@Data
@ApiModel(value = "PropertyHouseResidentDto对象", description = "房产住户Dto")
public class PropertyHouseResidentDto {
    /**
     * 主键ID
     */
    @ApiModelProperty(name = "id", value = "主键ID")
    private Long id;
    /**
     * 园区ID
     */
    @ApiModelProperty(name = "parkId", value = "园区ID")
    @NotNull(message = "园区ID不能为空")
    private Long parkId;
    /**
     * 房源ID
     */
    @ApiModelProperty(name = "houseId", value = "房源ID")
    @NotNull(message = "房源ID不能为空")
    private Long houseId;
    /**
     * 业主ID
     */
    @ApiModelProperty(name = "ownerId", value = "业主ID")
    @NotNull(message = "业主ID不能为空")
    private Long ownerId;
    /**
     * 与业主关系
     */
    @ApiModelProperty(name = "relation", value = "与业主关系")
    @NotNull(message = "与业主关系不能为空")
    private String relation;
    /**
     * 入住日期
     */
    @ApiModelProperty(name = "startDate", value = "入住日期")
    private Date startDate;
    /**
     * 截止日期
     */
    @ApiModelProperty(name = "endDate", value = "截止日期")
    private Date endDate;
    /**
     * 客户档案ID
     */
    @ApiModelProperty(name = "customerArchivesId", value = "客户档案ID")
    @NotNull(message = "客户档案ID不能为空")
    private Long customerArchivesId;
    /**
     * 联系电话1
     */
    @ApiModelProperty(name = "linkPhoneOne", value = "联系电话1")
    @NotBlank(message = "联系方式不能为空")
    private String linkPhoneOne;
    /**
     * 证件类型(1:营业执照 2:身份证)
     */
    @ApiModelProperty(name = "idType", value = "证件类型(1:营业执照 2:身份证)")
    private Integer idType;
    /**
     * 证件号码
     */
    @ApiModelProperty(name = "idNo", value = "证件号码")
    private String idNo;
    /**
     * 性别(1:男 2:女)
     */
    @ApiModelProperty(name = "sex", value = "性别(1:男 2:女)")
    private Integer sex;
    /**
     * 人员照片
     */
    @ApiModelProperty(name = "facePhoto", value = "人员照片")
    private String facePhoto;
    /**
     * 备注
     */
    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;

}
