package cn.com.ctop.common.module.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
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 2020-03-16
 */
@Data
@TableName("ctop_material_image_info")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "ctop_material_image_info对象", description = "素材")
public class MaterialImageInfo {

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Long id;
    /**
     * code
     */
    @Excel(name = "code", width = 15)
    @ApiModelProperty(value = "code")
    private String code;
    /**
     * url
     */
    @Excel(name = "url", width = 15)
    @ApiModelProperty(value = "url")
    private String url;
    /**
     * 素材名称
     */
    @Excel(name = "素材名称", width = 15)
    @ApiModelProperty(value = "素材名称")
    private String videoId;
    /**
     * 素材名称
     */
    @Excel(name = "素材名称", width = 15)
    @ApiModelProperty(value = "素材名称")
    private String materialName;
    /**
     * 创建人id
     */
    @Excel(name = "创建人id", width = 15)
    @ApiModelProperty(value = "创建人id")
    private String userId;
    /**
     * 审核人
     */
    @Excel(name = "审核人", width = 15)
    @ApiModelProperty(value = "审核人")
    private String auditorId;
    /**
     * 0-待审核 1-审核通过 2-审核拒绝
     */
    @Excel(name = "0-待审核 1-审核通过 2-审核拒绝", width = 15)
    @ApiModelProperty(value = "0-待审核 1-审核通过 2-审核拒绝")
    private Integer status;
    /**
     * 素材描述
     */
    @Excel(name = "素材描述", width = 15)
    @ApiModelProperty(value = "素材描述")
    private Object materialDescribe;
    /**
     * 拒绝原因
     */
    @Excel(name = "拒绝原因", width = 15)
    @ApiModelProperty(value = "拒绝原因")
    private Object refuseReason;
    /**
     * 拒绝截图
     */
    @Excel(name = "拒绝截图", width = 15)
    @ApiModelProperty(value = "拒绝截图")
    private Object refuseFile;
    /**
     * width
     */
    @Excel(name = "width", width = 15)
    @ApiModelProperty(value = "width")
    private String width;
    /**
     * 素材类型
     */
    @Excel(name = "素材类型", width = 15)
    @ApiModelProperty(value = "素材类型")
    private String type;
    /**
     * height
     */
    @Excel(name = "height", width = 15)
    @ApiModelProperty(value = "height")
    private String height;
    /**
     * size
     */
    @Excel(name = "size", width = 15)
    @ApiModelProperty(value = "size")
    private String size;

    private Integer excellent;
    /**
     * createTime
     */
    @ApiModelProperty(value = "createTime")
    private Date createTime;
    /**
     * updateTime
     */
    @ApiModelProperty(value = "updateTime")
    private Date updateTime;

    @TableField(exist = false)
    private String videoUrl;

    @TableField(exist = false)
    private String auditorName;

    @TableField(exist = false)
    private String userName;

}
