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 java.math.BigDecimal;

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_special")
@ApiModel(value="AdSpecial对象", description="专题管理")
public class AdSpecial implements Serializable {

    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty(value = "0广告 1栏目")
    @TableField("type")
    private Integer type;

    @ApiModelProperty(value = "产品名称")
    @TableField("product_name")
    private String productName;

    @ApiModelProperty(value = "品牌/内容")
    @TableField("brand_name")
    private String brandName;

    @ApiModelProperty(value = "广告主")
    @TableField("adv_master")
    private String advMaster;

    @ApiModelProperty(value = "媒体名称")
    @TableField("media_name")
    private String mediaName;

    @ApiModelProperty(value = "播出环境")
    @TableField("show_env")
    private Integer showEnv;

    @ApiModelProperty(value = "播出节目")
    @TableField("tv_name")
    private String tvName;

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

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

    @ApiModelProperty(value = "播出时长(单位分)")
    @TableField("show_duration")
    private Float showDuration;

    @ApiModelProperty(value = "价格")
    @TableField("price")
    private BigDecimal price;

    @ApiModelProperty(value = "联系方式")
    @TableField("phone")
    private String phone;

    @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;


}
