package com.fs.qw.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fs.common.annotation.Excel;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class QwExternalContactVO {
    private Long id;

    /** 属于用户id */
    @Excel(name = "属于用户id")
    private String userId;

    /**
    *  属于用户名称
    */
    @Excel(name = "销售企微昵称")
    private String qwUserName;

    /**
    * 员工所属部门
    */
    private String departmentName;


    /** 外部联系人id */
    @Excel(name = "外部联系人id")
    private String externalUserId;

    private Long companyUserId;

    /**
    * 是否绑定企业微信
    */
    private Long customerId;

    /**
    * CRM 绑定的小程序id
    */
    private Long miniUserId;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 头像 */
    @Excel(name = "头像")
    private String avatar;

    /** 外部联系人的类型1微信用户，2企业微信用户 */
    @Excel(name = "外部联系人的类型1微信用户，2企业微信用户")
    private Long type;

    /** 0-未知 1-男性 2-女性 */
    @Excel(name = "0-未知 1-男性 2-女性")
    private Long gender;

    /** 描述信息 */
    @Excel(name = "描述信息")
    private String description;

    /** 标签id */
    //@Excel(name = "标签id")
    private String tagIds;

    @Excel(name = "标签名")
    private List<String> tagIdsName;

    /** 备注电话号码 */
    @Excel(name = "备注电话号码")
    private String remarkMobiles;

    private String remark;

    /** 备注企业名称 */
    @Excel(name = "备注企业名称")
    private String remarkCorpName;
    @Excel(name = "来源")
    private Long addWay;

    /** oper用户id */
    @Excel(name = "oper用户id")
    private String operUserid;

    /** 企业id */
    @Excel(name = "企业id")
    private String corpId;

    /** 公司id */
    @Excel(name = "公司id")
    private Long companyId;

    private Integer transferStatus;
    private Integer status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lossTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date delTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date transferTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date registerTime;
    private Integer transferNum;

    @Excel(name = "活码")
    private String state;

    private Long wayId;
    private String stageStatus;
    private String customerName;
    private Long fsUserId;
    @Excel(name = "客户等级")
    private Long level;
    //下单次数
    private Long orderCount;
    @Excel(name = "等级升降")
    private Long levelType;

    /**
     * 是否回复
     */
    private Integer isReply;

    /**
     * 联系我名称
     */
    private String wayName;

    /**
     * 联系我分组名称
     */
    private String wayGroupName;
}
