package com.storlead.sales.pojo.vo.customer;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.storlead.framework.annotate.AnnotateEnumType;
import com.storlead.framework.annotate.Dict;
import com.storlead.framework.annotate.OrgAutoMateAnnotate;
import com.storlead.framework.mybatis.entity.SysBaseField;
import com.storlead.sales.pojo.entity.customer.CustomerCompanyEntity;
import com.storlead.sales.pojo.entity.customer.LiaisonEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "客户详情列表VO")
public class CustomerCompanyListVO extends SysBaseField {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "客户id")
    private Long id;

    @ApiModelProperty(value = "关联客户id")
    @TableField("customer_id")
    private Long customerId;
    //资源类型
    @ApiModelProperty(value = "资源类型")
    private String resourceType;

    @ApiModelProperty(value = "客户名称")
    private String customerName;

    @ApiModelProperty(value = "联系人姓名")
    private String name;

    @ApiModelProperty(value = "客户来源")
    private Integer customerForm;

    @ApiModelProperty(value = "备用邮箱1")
    private String email1;
    @ApiModelProperty(value = "备用邮箱2")
    private String email2;
    @ApiModelProperty(value = "备用邮箱3")
    private String email3;

    @ApiModelProperty(value = "备用网址1")
    private String website1;
    @ApiModelProperty(value = "备用网址2")
    private String website2;
    @ApiModelProperty(value = "备用网址3")
    private String website3;

    @ApiModelProperty(value = "电子邮箱")
    private String email;

    @ApiModelProperty(value = "企业网址")
    private String website;

    @ApiModelProperty(value = "归属人员姓名")
    private String ownerByName;

    @ApiModelProperty(value = "最后跟进时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JSONField(format ="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime lastFollowUpTime;

    @ApiModelProperty(value = "未跟进天数")
    private Integer noFollowUpDate;

    @ApiModelProperty(value = "未跟进天数")
    private Integer notFollowUpDate;

    @ApiModelProperty(value = "匹配度")
    private Float score;
    @ApiModelProperty(value = "匹配度")
    private Float score1;
    @ApiModelProperty(value = "匹配度")
    private Float score2;
    @ApiModelProperty(value = "匹配度")
    private Float score3;

    @ApiModelProperty(value = "重复类型")
    private String reason;



}
