BusinessAssistantClueInfoDTO.java 3 KB
package cn.com.glsx.busassistant.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class BusinessAssistantClueInfoDTO implements Serializable {

    private static final long serialVersionUID = 4685784556521548908L;

    private Integer merchantId;

    /**
     * 客户openId
     */
    private String openId;

    @ApiModelProperty(notes = "模糊搜索关键字", dataType = "string")
    private String term;

    @ApiModelProperty(notes = "手机号(0无,1有)", dataType = "int")
    private Integer hasPhone;

    @ApiModelProperty(notes = "线索来源(1访客,2门店)", dataType = "int")
    private Integer clueSource;

    @ApiModelProperty(notes = "意向(标星)客户:0否,1是", dataType = "int")
    private Integer starTag;

    @ApiModelProperty(notes = "线索阶段:1初步了解,2深入体验,3签约成交", dataType = "int")
    private Integer levelTag;

    @ApiModelProperty(notes = "线索id", dataType = "int")
    private Integer clueId;

    @ApiModelProperty(notes = "客户名称", dataType = "string")
    private String nickName;

    @ApiModelProperty(notes = "客户头像", dataType = "String")
    private String avatar;

    @ApiModelProperty(notes = "客户手机号", dataType = "string")
    private String phone;

    /**
     * 场景编号
     */
    @ApiModelProperty(name = "sceneCode", notes = "场景编号(仅有活动类型的线索有)", dataType = "String")
    private String sceneCode;

    /**
     * 店面id(operation_type=2时有值)
     */
    @ApiModelProperty(name = "shopId", notes = "店面id", dataType = "int")
    private Integer shopId;

    @ApiModelProperty(notes = "所属门店(clueType=2时有值)", dataType = "string")
    private String shopName;

    @ApiModelProperty(notes = "线索类型:1开店面线索,2开通活动线索,3浏览线索", dataType = "int")
    private Integer clueType;

    @JsonIgnore
    @ApiModelProperty(notes = "产品编号", dataType = "string")
    private String productCode;

    @JsonIgnore
    @ApiModelProperty(notes = "访问页面/活动名称", dataType = "string")
    private String productDesc;

    @JsonIgnore
    @ApiModelProperty(notes = "线索时间", dataType = "date")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date clueDate;

    @JsonIgnore
    private Integer applyMerchantId;

    @JsonIgnore
    private Integer applyActivityId;

    @ApiModelProperty(notes = "是否申请过业务 1申请过 0未申请过", dataType = "int")
    private Integer applyStatus;

    @ApiModelProperty(notes = "访问记录(clueType=2时有值)", dataType = "list")
    private List<BusinessAssistantClueVisitItemDTO> visitList;

}