package org.jeecg.modules.ctop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
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 java.util.Date;

/**
 * 同步素材任务
 *
 * @author jeecg-boot
 * @version V1.0
 * @date 2021-10-21
 */
@Data
@TableName("ctop_material_upload_task")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "ctop_material_upload_task对象", description = "同步素材任务")
public class MaterialUploadTask {

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Long id;
    /**
     * 媒体
     */
    @Excel(name = "媒体", width = 15)
    @ApiModelProperty(value = "媒体")
    private Integer mediaId;
    /**
     * 素材md5
     */
    @Excel(name = "素材md5", width = 15)
    @ApiModelProperty(value = "素材md5")
    private String signature;
    /**
     * 账户id
     */
    @Excel(name = "账户id", width = 15)
    @ApiModelProperty(value = "账户id")
    private Long accountId;
    /**
     * 快手账户id
     */
    @Excel(name = "快手账户id", width = 15)
    @ApiModelProperty(value = "快手账户id")
    private Long kuaishouUserId;
    private Integer shieldBackwardSwitch;
    /**
     * 上传人id
     */
    @Excel(name = "上传人id", width = 15)
    @ApiModelProperty(value = "上传人id")
    private String userId;
    /**
     * 上传人姓名
     */
    @Excel(name = " 上传人姓名", width = 15)
    @ApiModelProperty(value = " 上传人姓名")
    private String userName;
    /**
     * 素材名称
     */
    @Excel(name = "素材名称", width = 15)
    @ApiModelProperty(value = "素材名称")
    private String materialName;
    /**
     * 素材链接
     */
    @Excel(name = "素材链接", width = 15)
    @ApiModelProperty(value = "素材链接")
    private String materialUrl;
    /**
     * 上传状态
     */
    @Excel(name = "上传状态 ", width = 15)
    @ApiModelProperty(value = "上传状态 ")
    private Integer taskStatus;
    /**
     * remarks
     */
    @Excel(name = "remarks", width = 15)
    @ApiModelProperty(value = "remarks")
    private String remarks;
    private String syncAccounts;
    /**
     * 上传成功时间
     */
    @ApiModelProperty(value = "上传成功时间")
    private Date uploadTime;
    /**
     * updateTime
     */
    @ApiModelProperty(value = "updateTime")
    private Date updateTime;
    /**
     * createTime
     */
    @ApiModelProperty(value = "createTime")
    private Date createTime;
}
