package com.huiju.estateagents.statistic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 客户分析月统计表 小程序盘客工具客户分析
 * </p>
 *
 * @author jobob
 * @since 2019-11-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ts_customer_statistic_monthly")
public class TsCustomerStatisticMonthly implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "customer_statistic_monthly_id", type = IdType.AUTO)
    private Integer customerStatisticMonthlyId;

    /**
     * 公司id
     */
    private Integer orgId;

    /**
     * 客户数量
     */
    private Integer customerNum;

    /**
     * 客户类型 visite 到访客户， new 新增客户 ，follow跟进客户
     */
    private String customerType;

    /**
     * 月份 格式yyyymm例201911
     */
    private String month;

    /**
     * 创建时间
     */
    private LocalDateTime createDate;

    /**
     * 更新时间
     */
    private LocalDateTime updateDate;
    
    /**
     * 置业顾问ID
     */
    private String realtyConsultant;
}
