package com.ylcm.sys.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
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 com.ylcm.sys.excel.model.AdTheatreExcelDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.beans.BeanUtils;

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

    private static final long serialVersionUID = 1L;

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

    @TableField("ad_theatre_id")
    private Integer adTheatreId;

    @ApiModelProperty(value = "29省收视率")
    @TableField(value = "rating_29", fill = FieldFill.UPDATE)
    private Float rating29;

    @ApiModelProperty(value = "省网到达千人")
    @TableField(value = "dk_29", fill = FieldFill.UPDATE)
    private Integer dk29;

    @TableField(value = "shandong", fill = FieldFill.UPDATE)
    private Integer shandong;

    @TableField(value = "liaoning", fill = FieldFill.UPDATE)
    private Integer liaoning;

    @TableField(value = "heilongjiang", fill = FieldFill.UPDATE)
    private Integer heilongjiang;

    @TableField(value = "jilin", fill = FieldFill.UPDATE)
    private Integer jilin;

    @TableField(value = "neimenggu", fill = FieldFill.UPDATE)
    private Integer neimenggu;

    @TableField(value = "beijing", fill = FieldFill.UPDATE)
    private Integer beijing;

    @TableField(value = "shanghai", fill = FieldFill.UPDATE)
    private Integer shanghai;

    @TableField(value = "tianjing", fill = FieldFill.UPDATE)
    private Integer tianjing;

    @TableField(value = "chongqing", fill = FieldFill.UPDATE)
    private Integer chongqing;

    @TableField(value = "shanxi", fill = FieldFill.UPDATE)
    private Integer shanxi;

    @TableField(value = "sichuan", fill = FieldFill.UPDATE)
    private Integer sichuan;

    @TableField(value = "yunnan", fill = FieldFill.UPDATE)
    private Integer yunnan;

    @TableField(value = "guizhou", fill = FieldFill.UPDATE)
    private Integer guizhou;

    @TableField(value = "gansu", fill = FieldFill.UPDATE)
    private Integer gansu;

    @ApiModelProperty(value = "陕西")
    @TableField(value = "shaanxi", fill = FieldFill.UPDATE)
    private Integer shaanxi;

    @TableField(value = "hebei", fill = FieldFill.UPDATE)
    private Integer hebei;

    @TableField(value = "henan", fill = FieldFill.UPDATE)
    private Integer henan;

    @TableField(value = "fujian", fill = FieldFill.UPDATE)
    private Integer fujian;

    @TableField(value = "guangdong", fill = FieldFill.UPDATE)
    private Integer guangdong;

    @TableField(value = "zhejiang", fill = FieldFill.UPDATE)
    private Integer zhejiang;

    @TableField(value = "jiangsu", fill = FieldFill.UPDATE)
    private Integer jiangsu;

    @TableField(value = "jiangxi", fill = FieldFill.UPDATE)
    private Integer jiangxi;

    @TableField(value = "anhui", fill = FieldFill.UPDATE)
    private Integer anhui;

    @TableField(value = "hunan", fill = FieldFill.UPDATE)
    private Integer hunan;

    @TableField(value = "hubei", fill = FieldFill.UPDATE)
    private Integer hubei;

    @TableField(value = "guangxi", fill = FieldFill.UPDATE)
    private Integer guangxi;

    @TableField(value = "hainan", fill = FieldFill.UPDATE)
    private Integer hainan;

    @TableField(value = "ningxia", fill = FieldFill.UPDATE)
    private Integer ningxia;

    @TableField(value = "xinjiang", fill = FieldFill.UPDATE)
    private Integer xinjiang;

    @TableField(value = "people_man_29", fill = FieldFill.UPDATE)
    private Float peopleMan29;

    @TableField(value = "people_women_29", fill = FieldFill.UPDATE)
    private Float peopleWomen29;

    @TableField(value = "people_414_29", fill = FieldFill.UPDATE)
    private Float people41429;

    @TableField(value = "people_1524_29", fill = FieldFill.UPDATE)
    private Float people152429;

    @TableField(value = "people_2534_29", fill = FieldFill.UPDATE)
    private Float people253429;

    @TableField(value = "people_3544_29", fill = FieldFill.UPDATE)
    private Float people354429;

    @TableField(value = "people_4554_29", fill = FieldFill.UPDATE)
    private Float people455429;

    @TableField(value = "people_5564_29", fill = FieldFill.UPDATE)
    private Float people556429;

    @TableField(value = "people_65_29", fill = FieldFill.UPDATE)
    private Float people6529;

    @ApiModelProperty(value = "51城收视率")
    @TableField(value = "rating_51", fill = FieldFill.UPDATE)
    private Float rating51;

    @ApiModelProperty(value = "51城到达千人")
    @TableField(value = "dk_51", fill = FieldFill.UPDATE)
    private Integer dk51;

    @ApiModelProperty(value = "51城受众人群组成-男性比例")
    @TableField(value = "people_man_51", fill = FieldFill.UPDATE)
    private Float peopleMan51;

    @TableField(value = "people_woman_51", fill = FieldFill.UPDATE)
    private Float peopleWoman51;

    @TableField(value = "people_114_51", fill = FieldFill.UPDATE)
    private Float people11451;

    @TableField(value = "people_1524_51", fill = FieldFill.UPDATE)
    private Float people152451;

    @TableField(value = "people_2534_51", fill = FieldFill.UPDATE)
    private Float people253451;

    @TableField(value = "people_3544_51", fill = FieldFill.UPDATE)
    private Float people354451;

    @TableField(value = "people_4554_51", fill = FieldFill.UPDATE)
    private Float people455451;

    @TableField(value = "people_5564_51", fill = FieldFill.UPDATE)
    private Float people556451;

    @TableField(value = "people_65_51", fill = FieldFill.UPDATE)
    private Float people6551;

    public AdTheatreExcelDTO toAdTheatreExcelDTO(){
        AdTheatreExcelDTO dto = new AdTheatreExcelDTO();
        BeanUtils.copyProperties(this, dto);
        return dto;
    }

}
