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

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.nest.springwrap.core.mp.base.BaseEntity;

/**
 * @Author 蔡文强
 * @Date 2023/11/28 10:56
 * @Description 客户档案表
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("property_customer_archives")
@ApiModel(value="PropertyCustomerArchives对象", description="客户档案表")
public class PropertyCustomerArchives extends BaseEntity {

    /**
     * 园区ID
     */
    @ApiModelProperty(name = "parkId", value = "园区ID")
    private Long parkId;
    /**
     * 客户类型(1:机构 2:个人)
     */
    @ApiModelProperty(name = "customerType", value = "客户类型(1:机构 2:个人)")
    private Integer customerType;
    /**
     * 客户类别(1:房源业主 2:业主成员 3:房源租客 4:租客成员 5:开发商 6:服务商 7:其他)
     */
    @ApiModelProperty(name = "customerCategory", value = "客户类别(1:房源业主 2:业主成员 3:房源租客 4:租客成员 5:开发商 6:服务商 7:其他)")
    private Integer customerCategory;
    /**
     * 客户名称
     */
    @ApiModelProperty(name = "customerName", value = "客户名称")
    private String customerName;
    /**
     * 机构类型
     */
    @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:身份证)")
    private Integer idType;
    /**
     * 证件号码
     */
    @ApiModelProperty(name = "idNo", value = "证件号码")
    private String idNo;
    /**
     * 人脸照片
     */
    @ApiModelProperty(name = "facePhoto", value = "人脸照片")
    private String facePhoto;
    /**
     * 备注
     */
    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;
    /**
     * 联系人1
     */
    @ApiModelProperty(name = "linkManOne", value = "联系人1")
    private String linkManOne;
    /**
     * 联系电话1
     */
    @ApiModelProperty(name = "linkPhoneOne", value = "联系电话1")
    private String linkPhoneOne;
    /**
     * 联系人2
     */
    @ApiModelProperty(name = "linkManTwo", value = "联系人2")
    private String linkManTwo;
    /**
     * 联系电话2
     */
    @ApiModelProperty(name = "linkPhoneTwo", value = "联系电话2")
    private String linkPhoneTwo;
    /**
     * 电子邮箱
     */
    @ApiModelProperty(name = "email", value = "电子邮箱")
    private String email;
    /**
     * 公司地址
     */
    @ApiModelProperty(name = "companyAddress", value = "公司地址")
    private String companyAddress;
    /**
     * 微信号
     */
    @ApiModelProperty(name = "wechatAccount", value = "微信号")
    private String wechatAccount;
    /**
     * 户籍地址
     */
    @ApiModelProperty(name = "domicileAddress", value = "户籍地址")
    private String domicileAddress;
    /**
     * 现住地址
     */
    @ApiModelProperty(name = "currentAddress", value = "现住地址")
    private String currentAddress;
    /**
     * 是否存在关联数据(0:否 1:是)
     */
    @ApiModelProperty(name = "isLink", value = "是否存在关联数据(0:否 1:是)")
    private Integer isLink;
    /**
     * 创建方式(1:后台添加 2:自动同步)
     */
    @ApiModelProperty(name = "createType", value = "创建方式(1:后台添加 2:自动同步)")
    private Integer createType;
    /**
     * 创建人平台ID
     */
    @ApiModelProperty(name = "createPeopleId", value = "创建人平台ID")
    private Long createPeopleId;


    @ApiModelProperty(value = "绑定状态 1：已绑定 2：未绑定 3：已失效")
    private Integer bindStatus;

    @ApiModelProperty(value = "绑定账号")
    private String bindAccount;

}
