package com.fs.course.domain;

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

import java.time.LocalDate;
import java.util.Date;

/**
 * 短链课程流量记录对象 fs_course_traffic_log
 *
 * @author fs
 * @date 2024-10-31
 */
@Data
public class FsCourseTrafficLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 日志Id */
    private Long logId;

    private String uuId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 小节id */
    @Excel(name = "小节id")
    private Long videoId;

    /** 企微外部联系人id */
    @Excel(name = "企微外部联系人id")
    private Long qwExternalContactId;

    /** 使用流量 */
    @Excel(name = "使用流量")
    private Long internetTraffic;

    /** 分享人企微userId */
    @Excel(name = "分享人企微userId")
    private String qwUserId;

    /** 销售id */
    @Excel(name = "销售id")
    private Long companyUserId;

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

    /** 课程id */
    @Excel(name = "课程id")
    private Long courseId;

    /**
     * 项目
     */
    private Long project;

    /**
     * 营期id
     */
    private Long periodId;



//    @JsonFormat(pattern = "yyyy-MM-dd")
//    private Date time;

}
