package cn.com.ctop.kuaishou.modules.batch.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 快手-广告创意预览信息
 *
 * @author jeecg-boot
 * @version V1.0
 * @date 2021-01-26
 */
@Data
@TableName("ctop_kuaishou_batch_creative_preview")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "ctop_kuaishou_batch_creative_preview对象", description = "快手-广告创意预览信息")
public class KuaishouBatchCreativePreview {

    /**
     * id
     */
    @TableId
    @ApiModelProperty(value = "id")
    private String id;
    /**
     * 账户ID
     */
    @Excel(name = "账户ID", width = 15)
    @ApiModelProperty(value = "账户ID")
    private Long accountId;
    /**
     * 广告计划ID
     */
    @Excel(name = "广告计划ID", width = 15)
    @ApiModelProperty(value = "广告计划ID")
    private String planId;
    /**
     * 广告组ID
     */
    @Excel(name = "广告组ID", width = 15)
    @ApiModelProperty(value = "广告组ID")
    private String groupId;
    /**
     * 广告创意名称
     */
    @Excel(name = "广告创意名称", width = 15)
    @ApiModelProperty(value = "广告创意名称")
    private String creativeName;
    /**
     * 视频作品ID
     */
    @Excel(name = "视频作品ID", width = 15)
    @ApiModelProperty(value = "视频作品ID")
    private String photoId;
    /**
     * 封面图片MD5
     */
    @Excel(name = "封面图片MD5", width = 15)
    @ApiModelProperty(value = "封面图片MD5")
    private String imageSignature;
    /**
     * 封面图片URL
     */
    @Excel(name = "封面图片URL", width = 15)
    @ApiModelProperty(value = "封面图片URL")
    private String imageUrl;
    /**
     * stickerTitle
     */
    @Excel(name = "stickerTitle", width = 15)
    @ApiModelProperty(value = "stickerTitle")
    private String stickerTitle;
    /**
     * 贴纸样式类型
     */
    @Excel(name = "贴纸样式类型", width = 15)
    @ApiModelProperty(value = "贴纸样式类型")
    private String overlayType;
    /**
     * 广告语
     */
    @Excel(name = "广告语", width = 15)
    @ApiModelProperty(value = "广告语")
    private String description;
    /**
     * 行动号召按钮文案
     */
    @Excel(name = "行动号召按钮文案", width = 15)
    @ApiModelProperty(value = "行动号召按钮文案")
    private String actionBarText;
    /**
     * 点击测试链接
     */
    @Excel(name = "点击测试链接", width = 15)
    @ApiModelProperty(value = "点击测试链接")
    private String clickTrackUrl;
    /**
     * 视频封面来源 1：首帧，0：非首帧
     */
    @Excel(name = "视频封面来源 1：首帧，0：非首帧", width = 15)
    @ApiModelProperty(value = "视频封面来源 1：首帧，0：非首帧")
    private Integer firstFrameType;
    /**
     * 安卓下载中间页
     */
    @Excel(name = "安卓下载中间页", width = 15)
    @ApiModelProperty(value = "安卓下载中间页")
    private Long siteId;
    /**
     * 便利贴创意短广告语
     */
    @Excel(name = "便利贴创意短广告语", width = 15)
    @ApiModelProperty(value = "便利贴创意短广告语")
    private String shortSlogan;
    /**
     * 第三方开始播放监测链接
     */
    @Excel(name = "第三方开始播放监测链接", width = 15)
    @ApiModelProperty(value = "第三方开始播放监测链接")
    private String impressionUrl;
    /**
     * 第三方有效播放监测链接
     */
    @Excel(name = "第三方有效播放监测链接", width = 15)
    @ApiModelProperty(value = "第三方有效播放监测链接")
    private String adPhotoPlayedT3sUrl;
    /**
     * 创意分类
     */
    @Excel(name = "创意分类", width = 15)
    @ApiModelProperty(value = "创意分类")
    private Integer creativeCategory;
    /**
     * 创意标签
     */
    @Excel(name = "创意标签", width = 15)
    @ApiModelProperty(value = "创意标签")
    private String creativeTag;
    /**
     * 第三方点击按钮监测链接
     */
    @Excel(name = "第三方点击按钮监测链接", width = 15)
    @ApiModelProperty(value = "第三方点击按钮监测链接")
    private String actionbarClickUrl;
    /**
     * 创建时间
     */
    @Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
     * updateTime
     */
    @Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "updateTime")
    private Date updateTime;
    /**
     * 批次标识
     */
    @Excel(name = "批次标识", width = 15)
    @ApiModelProperty(value = "批次标识")
    private String batchId;

    /**
     * 是否创建成功 0 失败，1成功
     */
    private int isSuccess;

    /**
     * 操作说明
     */
    private String message;
    /**
     * 创建成功后的计划ID
     */
    private Long campaignId;
    /**
     * 创建成功后的组ID
     */
    private Long unitId;
    /**
     * 创建成功后的创意ID
     */
    private Long creativeId;

}
