package com.sptg.statistics.api.dto;

import com.baomidou.mybatisplus.annotations.TableField;
import com.sptg.statistics.api.entity.StatisticsAdPlayFreeTime;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * title: StatisticsAdWatchDto
 * package: com.sptg.statistics.api.dto
 * description:闲时广告播放统计-数据传输对象
 *
 *                
 *               
 */
@Setter
@Getter
public class StatisticsAdPlayFreeTimeDto extends StatisticsAdPlayFreeTime {
    /**
     * 开始查询时间条件
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(exist=false)
    private Date startDate;

    /**
     * 结束查询时间条件
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(exist=false)
    private Date endDate;
    /**
     * 查询某月数据
     */
    @TableField(exist = false)
    private Date selectMonth;

    /**
     * 查询某周数据
     */
    @TableField(exist = false)
    private Integer yearWeek;
}
