CustomerStatistics.java 1.82 KB
package cn.com.glsx.entmicro.entity;

import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;
import javax.persistence.*;

@Data
@Accessors(chain = true)
@Table(name = "scrm_customer_statistics")
public class CustomerStatistics implements Serializable {
    /**
     * 主键
     */
    @Id
    private Integer id;

    /**
     * 商户号
     */
    @Column(name = "merchantId")
    private Integer merchantId;

    /**
     * 统计日期
     */
    @Column(name = "statistics_date")
    private String statisticsDate;

    /**
     * 客户数
     */
    @Column(name = "customer_count")
    private int customerCount;

    /**
     * 较昨日新增客户
     */
    @Column(name = "new_customer_count")
    private int newCustomerCount;

    /**
     * 客户日环比
     */
    @Column(name = "customer_ratio")
    private double customerRatio;

    /**
     * 已加企微
     */
    @Column(name = "add_entmicro_count")
    private int addEntmicroCount;

    /**
     * 较昨日新增企微客户
     */
    @Column(name = "new_entmicro_count")
    private int newEntmicroCount;

    /**
     * 企微日环比
     */
    @Column(name = "entmicro_ratio")
    private double entmicroRatio;

    /**
     * 未加企微
     */
    @Column(name = "not_add_entmicro_count")
    private int notAddEntmicroCount;

    /**
     * 企微流失总数
     */
    @Column(name = "entmicro_lose_count")
    private int entmicroLoseCount;

    /**
     * 当日企微流失总数
     */
    @Column(name = "today_entmicro_lose_count")
    private int todayEntmicroLoseCount;

    /**
     * 潜在(意向)客户
     */
    @Column(name = "un_buy_cust_count")
    private Integer unBuyCustCount;

    /**
     * 购买(存档)客户
     */
    @Column(name = "buy_cust_count")
    private Integer buyCustCount;
}