package com.ylcm.sys.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;

import java.time.LocalTime;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 剧场管理表
 * </p>
 *
 * @author admin
 * @since 2020-07-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ad_theatre")
@ApiModel(value="AdTheatre对象", description="剧场管理表")
public class AdTheatre 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("media_num")
    private Integer mediaNum;

    @ApiModelProperty(value = "体裁")
    @TableField("first_theme")
    private String firstTheme;

    @ApiModelProperty(value = "细分体裁")
    @TableField("second_theme")
    private String secondTheme;

    @ApiModelProperty(value = "播出日期")
    @TableField("show_date")
    private LocalDate showDate;

    @ApiModelProperty(value = "播出时间")
    @TableField("show_time")
    private LocalTime showTime;

    @ApiModelProperty(value = "类型：0产品 1栏目")
    @TableField("type")
    private Integer type;

    @ApiModelProperty(value = "产品或栏目名称")
    @TableField("type_name")
    private String typeName;

    @ApiModelProperty(value = "进线预估（元）")
    @TableField("jinxian")
    private Integer jinxian;

    @ApiModelProperty(value = "0正常 4删除")
    @TableField("status")
    @TableLogic
    private Integer status;

    @ApiModelProperty(value = "创建时间：默认值现在时间")
    @TableField("crt_time")
    private LocalDateTime crtTime;

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

    @ApiModelProperty(value = "时长（分）")
    @TableField("duration")
    private Float duration;


}
