package com.ylcm.sys.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * <p>
 * 关联电视剧数据
 * </p>
 *
 * @author admin
 * @since 2020-07-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ad_theatre_tv_stat")
@ApiModel(value="AdTheatreTvStat对象", description="关联电视剧数据")
@ToString
public class AdTheatreTvStat implements Serializable {

    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty(value = "剧名")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "频道")
    @TableField("media_name")
    private String mediaName;

    @ApiModelProperty(value = "题材")
    @TableField("first_theme")
    private String firstTheme;

    @ApiModelProperty(value = "细分题材")
    @TableField("second_theme")
    private String secondTheme;

    @ApiModelProperty(value = "1一线卫视 2二线卫视")
    @TableField("channel_system")
    private Integer channelSystem;
    
    @ApiModelProperty(value = "0日间 1黄金 2午夜 3凌晨")
    @TableField("theatre_time")
    private Integer theatreTime;

    @ApiModelProperty(value = "季度")
    @TableField("season")
    private String season;

    @ApiModelProperty(value = "集次")
    @TableField("tv_num")
    private Integer tvNum;

    @ApiModelProperty(value = "集次")
    @TableField("tv_num_d")
    private Integer tvNumD;

    @ApiModelProperty(value = "省网收视")
    @TableField("rating_29")
    private Float rating29;

    @ApiModelProperty(value = "省网到达千人")
    @TableField("dk_29")
    private Integer dk29;

    @ApiModelProperty(value = "省网收视率")
    @TableField("rating_51")
    private Float rating51;

    @ApiModelProperty(value = "省网到达千人")
    @TableField("dk_51")
    private Integer dk51;
//
//    @ApiModelProperty(value = "效果 0好 1一般 2较差 3差")
//    @TableField("effect")
//    private Integer effect;
    
    @ApiModelProperty(value = "播出日期")
    @TableField("show_date")
    private LocalDate showDate;
    
    @ApiModelProperty(value = "创建时间：默认值现在时间")
    @TableField("crt_time")
    private LocalDateTime crtTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("upd_time")
    private LocalDateTime updTime;


}
