package com.ylcm.sys.vo;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalTime;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.fastjson.annotation.JSONField;

import com.ylcm.sys.excel.converter.FloatConverter;
import com.ylcm.sys.excel.converter.LocalDateConverter;
import com.ylcm.sys.excel.converter.LocalTimeConverter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("剧场分析")
@Data
public class AdTheatreAnalysisDetailVO {

    @ExcelIgnore
	private Integer id;

    @ExcelProperty(index = 0, value="剧名")
	@ApiModelProperty(value = "剧名")
    private String name;

    @ExcelProperty(index = 1, value="媒体")
    @ApiModelProperty(value = "媒体")
    private String mediaName;

    @ExcelProperty(index = 2, value="题材")
    @ApiModelProperty(value = "题材")
    private String firstTheme;

    @ExcelProperty(index = 3, value="细分题材")
    @ApiModelProperty(value = "细分题材")
    private String secondTheme;

    @ExcelProperty(index = 4, value="集数")
    @ApiModelProperty("集数")
    private Integer mediaNum;

    @ExcelProperty(index = 5, value="播出日期", converter = LocalDateConverter.class)
    @ApiModelProperty("播出日期")
    @JSONField(format = "yyyy-MM-dd")
    private LocalDate showDate;

    @ExcelProperty(index = 6, value="播出时间", converter = LocalTimeConverter.class)
    @ApiModelProperty("播出时间")
    @JSONField(format = "HH:mm:ss")
    private LocalTime showTime;

    @ExcelProperty(index = 7, value="产品栏目")
    @ApiModelProperty("产品栏目")
    private String productName;

    @ExcelIgnore
    @ApiModelProperty("类型 0产品 1栏目")
    private Integer type;

    @ExcelProperty(index = 8, value="时长")
    @ApiModelProperty("时长")
    private String showDuration;

    @ExcelProperty(index = 9, value="进线预估")
    @ApiModelProperty("进线预估")
    private String jinxian;

    @ExcelProperty(index = 10, value="省网收视", converter = FloatConverter.class)
    @ApiModelProperty(value = "省网收视")
    private Float rating29 = 0.0f;

    @ExcelProperty(index = 11, value="省网到达千人")
    @ApiModelProperty(value = "省网到达千人")
    private Integer dk29 = 0;

    @ExcelProperty(index = 12, value="频道收视率", converter = FloatConverter.class)
    @ApiModelProperty(value = "频道收视率")
    private Float rating51 = 0.0f;

    @ExcelProperty(index = 13, value="频道到达千人")
    @ApiModelProperty(value = "频道到达千人")
    private Integer dk51 = 0;

}
