package cn.com.ctop.userefficientvideomap.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * 有效视频与角色对应表
 *
 * @author jeecg-boot
 * @version V1.0
 * @date 2019-12-16
 */
@Data
@TableName("ctop_user_efficient_video_map")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "ctop_user_efficient_video_map对象", description = "有效视频与角色对应表")
public class UserEfficientVideoMap {

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Long id;
    /**
     * 有效视频md5
     */
    @Excel(name = "有效视频md5", width = 15)
    @ApiModelProperty(value = "有效视频md5")
    private String efficientVideoSignature;
    /**
     * 角色id
     */
    @Excel(name = "角色id", width = 15)
    @ApiModelProperty(value = "角色id")
    private String roleId;
    /**
     * 用户id
     */
    @Excel(name = "用户id", width = 15)
    @ApiModelProperty(value = "用户id")
    private String userId;
    /**
     * 季度
     */
    @Excel(name = "季度", width = 15)
    @ApiModelProperty(value = "季度")
    private Integer quarter;
    /**
     * 年
     */
    @Excel(name = "年", width = 15)
    @ApiModelProperty(value = "年")
    private Integer year;
    /**
     * 月
     */
    @Excel(name = "月", width = 15)
    @ApiModelProperty(value = "月")
    private Integer month;
    /**
     * 计算日期_用于计算所属年月季的基础日期
     */
    @Excel(name = "计算日期", width = 15)
    @ApiModelProperty(value = "计算日期")
    private Date calcDate;
    /**
     * 媒体类型1_头条2_快手
     */
    @Excel(name = "媒体类型1_头条2_快手", width = 15)
    @ApiModelProperty(value = "媒体类型1_头条2_快手")
    private Integer appType;
    /**
     * createTime
     */
    @ApiModelProperty(value = "createTime")
    private Date createTime;
    /**
     * updateTime
     */
    @ApiModelProperty(value = "updateTime")
    private Date updateTime;

    private String weekStart;

    private String weekEnd;

    private String companyId;

    private BigDecimal cost;


}
