智慧保安后台管理-外网项目备份
Administrator
2021-07-28 13ff42df5af879d315051e6a7b45ea77e18e4797
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package org.springblade.modules.directive.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 lombok.Data;
 
import java.io.Serializable;
 
/**
 * 指令文件实体类
 * @author zhongrj
 * @time 2021-07-22
 */
@Data
@TableName("sys_directive_file")
public class DirectiveFile implements Serializable {
    private static final long serialVersionUID = 1L;
 
    /**
     * 指令文件主键id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
 
    /**
     * 类型  1:图片  2:视频
     */
    @TableField("type")
    private Integer type;
 
 
    /**
     * 指令id
     */
    @TableField("directive_id")
    private Long directiveId;
 
 
    /**
     * url 路径
     */
    private String url;
 
}