|
|
|
package com.supervision.model;
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
|
import java.io.Serializable;
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
|
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
import lombok.Data;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 素材库表
|
|
|
|
* @TableName vp_material_library
|
|
|
|
*/
|
|
|
|
@TableName(value ="vp_material_library")
|
|
|
|
@Data
|
|
|
|
public class MaterialLibrary implements Serializable {
|
|
|
|
/**
|
|
|
|
* 主键
|
|
|
|
*/
|
|
|
|
private String id;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 文件资源id 对应vp_file_resource的主键
|
|
|
|
*/
|
|
|
|
private String fileResourceId;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 素材名称;不采用vp_file_resource中的file_name字段
|
|
|
|
*/
|
|
|
|
private String materialName;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 素材类型 0:图片 1:视频 2:音频
|
|
|
|
*/
|
|
|
|
private String materialType;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 创建人ID
|
|
|
|
*/
|
|
|
|
@TableField(fill = FieldFill.INSERT)
|
|
|
|
@ApiModelProperty(hidden = true)
|
|
|
|
private String createUserId;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 创建时间
|
|
|
|
*/
|
|
|
|
@TableField(fill = FieldFill.INSERT)
|
|
|
|
@ApiModelProperty(hidden = true)
|
|
|
|
private LocalDateTime createTime;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 更新人
|
|
|
|
*/
|
|
|
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
|
|
|
@ApiModelProperty(hidden = true)
|
|
|
|
private String updateUserId;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 更新时间
|
|
|
|
*/
|
|
|
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
|
|
|
@ApiModelProperty(hidden = true)
|
|
|
|
private LocalDateTime updateTime;
|
|
|
|
|
|
|
|
@TableField(exist = false)
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
}
|