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

import com.baomidou.mybatisplus.annotation.TableField;
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;

/**
 * @Description: 快手-获取视频接口
 * @Author: jeecg-boot
 * @Date: 2019-07-25
 * @Version: V1.0
 */
@Data
@TableName("ctop_kuaishou_video_get")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "ctop_kuaishou_video_get对象", description = "快手-获取视频接口")
public class KuaiShouVideoGet {

    /**
     * id
     */
    @TableId
    @ApiModelProperty(value = "id")
    private String id;
    private Long accountId;
    private String coverUrl;
    private String photoId;
    private String photoName;
    private Date statDate;
    private String signature;
    private String url;
    private Integer height;
    private Integer width;
    private Integer materialType;
    private Integer channelType;
    private Integer status;
    /**
     * 素造素材标签
     */
    private String materialTag;
    /**
     * 素造供应商id
     */
    private Long supplierAccountId;
    /**
     * 供应商名称
     */
    private String supplierAccountName;

    @TableField(exist = false)
    private String putStartTime;
    @TableField(exist = false)
    private String putEndTime;
    private Integer isKaiPing;

    /**
     * 创建时间
     */
    @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;
    /**
     * 修改时间
     */
    @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 updateTime;


}
