package com.moka.gdtauto.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * OSS文件统计表
 * </p>
 *
 * @author mokamvp
 * @since 2026-03-25
 */
@Getter
@Setter
@ToString
@TableName("oss_file_statistics")
public class OssFileStatistics implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String fileMd5;

    /**
     * 花费（分）
     */
    private Long cost;

    /**
     * 日期
     */
    private LocalDate date;

    /**
     * 曝光次数
     */
    private Long viewCount;

    /**
     * 点击次数
     */
    private Long validClickCount;

    /**
     * 点击率
     */
    private BigDecimal ctr;
}
