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 = "PropertyHouseOwnerDto对象", description = "房产业主Dto")
public class PropertyHouseOwnerDto {

    /**
     * 主键ID
     */
    @ApiModelProperty(name = "id", value = "主键ID")
    private Long id;
    /**
     * 园区ID
     */
    @ApiModelProperty(name = "parkId", value = "园区ID")
    @NotNull(message = "园区ID不能为空")
    private Long parkId;
    /**
     * 房源ID(多个,逗号隔开)
     */
    @ApiModelProperty(name = "houseIds", value = "房源ID(多个,逗号隔开)")
    @NotBlank(message = "房源ID不能为空")
    private String houseIds;
    /**
     * 业主类型(1:机构 2:个人)
     */
    @ApiModelProperty(name = "ownerType", value = "业主类型(1:机构 2:个人)")
    @NotNull(message = "业主类型不能为空")
    private Integer ownerType;
    /**
     * 客户档案ID
     */
    @ApiModelProperty(name = "customerArchivesId", value = "客户档案ID")
    @NotNull(message = "客户档案ID不能为空")
    private Long customerArchivesId;
    /**
     * 机构类型
     */
    @ApiModelProperty(name = "organType", value = "机构类型")
    private String organType;
    /**
     * 所属行业
     */
    @ApiModelProperty(name = "organIndustry", value = "所属行业")
    private String organIndustry;
    /**
     * 组织规模
     */
    @ApiModelProperty(name = "organScale", value = "组织规模")
    private String organScale;
    /**
     * 性别(1:男 2:女)
     */
    @ApiModelProperty(name = "sex", value = "性别(1:男 2:女)")
    private Integer sex;
    /**
     * 证件类型(1:营业执照 2:身份证)
     */
    @ApiModelProperty(name = "idType", value = "证件类型(1:营业执照 2:身份证)")
    @NotNull(message = "证件类型不能为空")
    private Integer idType;
    /**
     * 证件号码
     */
    @ApiModelProperty(name = "idNo", value = "证件号码")
    @NotBlank(message = "证件号码不能为空")
    private String idNo;
    /**
     * 联系人1
     */
    @ApiModelProperty(name = "linkManOne", value = "联系人1")
    private String linkManOne;
    /**
     * 联系电话1
     */
    @ApiModelProperty(name = "linkPhoneOne", value = "联系电话1")
    @NotNull(message = "联系方式不能为空")
    private String linkPhoneOne;
    /**
     * 备注
     */
    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;

}
