package com.storlead.mail.pojo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.storlead.framework.mybatis.page.Page;
import com.storlead.framework.mybatis.query.QueryBaseEntity;
import com.storlead.framework.annotate.Dict;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @program: sp-sales-platform
 * @description:
 * @author: chenkq
 * @create: 2024-05-29 17:24
 */
@Data
public class MailDTO extends QueryBaseEntity {

    private String boxCode;

    @ApiModelProperty(value = "邮箱")
    private String emailAddress;

    private Long mailId;
    @ApiModelProperty(value = "1：星标")
    private Integer isStar;
    @ApiModelProperty(value = "1：垃圾箱")
    private Integer isTrash;
    @ApiModelProperty(value = "客户id")
    private Long customerId;

    @ApiModelProperty(value = "1：已读，0：未读")
    private Integer readStatu;

    @ApiModelProperty(value = "1：有客户，0：无客户")
    private Integer bindCustomer;

    @ApiModelProperty(value = "1：线索，0：无线索")
    private Integer bindClue;

    @ApiModelProperty(value = "1: 只取客户的最后一封邮箱")
    private Integer latestMail;

    @ApiModelProperty(value = "0：未跟进，1：跟进")
    private Integer followUpState;

    @ApiModelProperty(value = "系统邮箱")
    private Integer systemMail;

    @ApiModelProperty(value = "客户类型：10:客户,11: 档案")
    private Integer customerType;

    private Long ownerBy;

    private Long smtpPopId;

    private  String folder;

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

    @ApiModelProperty(value = "客户类型")
    private String customerTypeDictValue;

    @ApiModelProperty(value = "客户等级value（对应字典客户等级value）")
    private String customerLevelDictValue;

    @ApiModelProperty(value = "客户来源value（对应字典客户来源value）")
    private String customerSourceDictValue;

    @ApiModelProperty(value = "所属大洲（区域）")
    private String continent;

    @ApiModelProperty(value = "所属国家（区域）")
    private String country;

    @ApiModelProperty(value = "线索状态value（对应字典线索状态value）")
    private String clueStatusDictValue;

    @ApiModelProperty(value = "自定义文件夹id")
    private Long folderId;

    @ApiModelProperty(value = "跟进提醒:默认null,1:查询跟进提醒")
    private Integer followRemind;

    private List<Long> mailIds;
}
