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;
|
|
}
|