package com.panzhihua.service_grid.model.dos;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
|
import lombok.Data;
|
|
/**
|
* 事件或者走访中关联的图片音频和视频文件实体类
|
*
|
* @author cedoo email:cedoo(a)qq.com
|
* @version 1.0
|
* @since 1.0
|
* @date 2021-05-26
|
*/
|
@Data
|
@TableName("event_resource")
|
public class EventResourceDO implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 分类(1、事件 2、走访 3、事件流转) 列: classification
|
*/
|
private Integer classification;
|
/**
|
* ID 列: id
|
*/
|
@TableId(type = IdType.ASSIGN_ID)
|
private Long id;
|
/**
|
* 事件或者走访任务关联ID 列: id
|
*/
|
private Long refId;
|
/**
|
* 事件上传的资源类型(1是图片2是音频3是是视频) 列: type
|
*/
|
private Integer type;
|
/**
|
* 资源名称 列: resource_name
|
*/
|
private String resourceName;
|
/**
|
* 资源大小 列: resource_size
|
*/
|
private String resourceSize;
|
/**
|
* 视频或音频时长 列: resource_time
|
*/
|
private Integer resourceTime;
|
/**
|
* 事件上传的资源URL地址 列: url
|
*/
|
private String url;
|
/**
|
* 创建人 列: create_by
|
*/
|
private Long createBy;
|
/**
|
* 创建时间 列: create_at
|
*/
|
@TableField(fill = FieldFill.INSERT)
|
private Date createAt;
|
private Boolean upload;
|
}
|