package com.storlead.trade.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.storlead.framework.mybatis.entity.SysBaseField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("liaison")
@ApiModel(value = "LiaisonEntity", description = "联系人")
public class LiaisonEntity extends SysBaseField {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键ID")
    private Long id;
    @ApiModelProperty(value = "关联客户ID")
    private Long customerId;
    @ApiModelProperty(value = "是否首要联系人（0否，1是）")
    private Integer hasPrimaryLialison;
    @ApiModelProperty(value = "联系人姓名")
    private String name;
    @TableField("`call`")
    @ApiModelProperty(value = "尊称（0未知，1先生，2女士）")
    private Integer call;
    @ApiModelProperty(value = "资源类型")
    private String resourceType;
    @ApiModelProperty(value = "资源类型关联ID")
    private Long resourceTypeId;
    @ApiModelProperty(value = "联系人角色value")
    private String liaisonRoleDictValue;
    @ApiModelProperty(value = "生日")
    private Date birthday;
    @ApiModelProperty(value = "部门职务")
    private String departmentPosition;
    @ApiModelProperty(value = "手机号码")
    private String telephone;
    @ApiModelProperty(value = "电子邮箱")
    private String email;
    @ApiModelProperty(value = "备用邮箱1")
    private String email1;
    @ApiModelProperty(value = "备用邮箱2")
    private String email2;
    @ApiModelProperty(value = "备用邮箱3")
    private String email3;
    @ApiModelProperty(value = "传真号码")
    private String faxNumber;
    @ApiModelProperty(value = "邮政编码")
    private String postcode;
    @ApiModelProperty(value = "联系方式")
    private String contactInformation;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "QQ")
    private String qq;
    @ApiModelProperty(value = "Skype")
    private String skype;
    @ApiModelProperty(value = "旺旺")
    private String wangwang;
    @ApiModelProperty(value = "微信")
    private String wechat;
    @ApiModelProperty(value = "Twitter")
    private String twitter;
    @ApiModelProperty(value = "LinkedIn")
    private String linkedin;
    @ApiModelProperty(value = "Facebook")
    private String facebook;
    @ApiModelProperty(value = "Whatsapp")
    private String whatsapp;
    @ApiModelProperty(value = "固定电话")
    private String fixedLineTelephone;
    @ApiModelProperty(value = "宅电")
    private String homeElectricity;
    @ApiModelProperty(value = "详细地址")
    private String address;
    @ApiModelProperty(value = "国际区号")
    private String internationalArea;
    @ApiModelProperty(value = "最后跟进时间")
    private Date lastFollowUpTime;
    @ApiModelProperty(value = "前拥有者")
    private Long formerOwnerBy;
}
