- 添加摄像头管理相关的实体类、Mapper、Service、Controller等 - 实现摄像头管理的基础功能,包括查询、新增、修改、删除等 - 添加摄像头管理的Excel导出功能 - 为摄像头管理相关操作添加权限控制
120 lines
3.1 KiB
Java
120 lines
3.1 KiB
Java
package com.klp.domain.vo;
|
||
|
||
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
||
import com.alibaba.excel.annotation.ExcelProperty;
|
||
import com.klp.common.annotation.ExcelDictFormat;
|
||
import com.klp.common.convert.ExcelDictConvert;
|
||
import lombok.Data;
|
||
|
||
|
||
/**
|
||
* 摄像头管理视图对象 wms_camera_management
|
||
*
|
||
* @author Joshi
|
||
* @date 2025-08-07
|
||
*/
|
||
@Data
|
||
@ExcelIgnoreUnannotated
|
||
public class WmsCameraManagementVo {
|
||
|
||
private static final long serialVersionUID = 1L;
|
||
|
||
/**
|
||
* 自增主键
|
||
*/
|
||
@ExcelProperty(value = "自增主键")
|
||
private Long cameraId;
|
||
|
||
/**
|
||
* 摄像头编号(系统生成,如 camef8bd40d71795)
|
||
*/
|
||
@ExcelProperty(value = "摄像头编号", converter = ExcelDictConvert.class)
|
||
@ExcelDictFormat(readConverterExp = "系=统生成,如,c=amef8bd40d71795")
|
||
private String cameraCode;
|
||
|
||
/**
|
||
* 摄像头名称(如:仓库东门摄像头)
|
||
*/
|
||
@ExcelProperty(value = "摄像头名称", converter = ExcelDictConvert.class)
|
||
@ExcelDictFormat(readConverterExp = "如=:仓库东门摄像头")
|
||
private String cameraName;
|
||
|
||
/**
|
||
* RTSP 推流地址(摄像头原生地址)
|
||
*/
|
||
@ExcelProperty(value = "RTSP 推流地址", converter = ExcelDictConvert.class)
|
||
@ExcelDictFormat(readConverterExp = "摄=像头原生地址")
|
||
private String rtspUrl;
|
||
|
||
/**
|
||
* ws - fmp4 播放地址
|
||
*/
|
||
@ExcelProperty(value = "ws - fmp4 播放地址")
|
||
private String wsFmp4;
|
||
|
||
/**
|
||
* http - fmp4 播放地址
|
||
*/
|
||
@ExcelProperty(value = "http - fmp4 播放地址")
|
||
private String httpFmp4;
|
||
|
||
/**
|
||
* rtsp 播放地址
|
||
*/
|
||
@ExcelProperty(value = "rtsp 播放地址")
|
||
private String rtspAddr;
|
||
|
||
/**
|
||
* hls 播放地址
|
||
*/
|
||
@ExcelProperty(value = "hls 播放地址")
|
||
private String hlsAddr;
|
||
|
||
/**
|
||
* 安装位置(如:仓库 A 区货架 3)
|
||
*/
|
||
@ExcelProperty(value = "安装位置", converter = ExcelDictConvert.class)
|
||
@ExcelDictFormat(readConverterExp = "如=:仓库,A=,区=货架,3=")
|
||
private String location;
|
||
|
||
/**
|
||
* 所属分组/区域(直接存储名称,如:仓库 A 区)
|
||
*/
|
||
@ExcelProperty(value = "所属分组/区域", converter = ExcelDictConvert.class)
|
||
@ExcelDictFormat(readConverterExp = "直=接存储名称,如:仓库,A=,区=")
|
||
private String groupName;
|
||
|
||
/**
|
||
* 所属仓库(如:一号仓库)
|
||
*/
|
||
@ExcelProperty(value = "所属仓库", converter = ExcelDictConvert.class)
|
||
@ExcelDictFormat(readConverterExp = "如=:一号仓库")
|
||
private String warehouseName;
|
||
|
||
/**
|
||
* 状态:0-未启用 1-正常 2-离线 3-故障
|
||
*/
|
||
@ExcelProperty(value = "状态:0-未启用 1-正常 2-离线 3-故障")
|
||
private Long status;
|
||
|
||
/**
|
||
* 摄像头访问用户名
|
||
*/
|
||
@ExcelProperty(value = "摄像头访问用户名")
|
||
private String username;
|
||
|
||
/**
|
||
* 摄像头访问密码
|
||
*/
|
||
@ExcelProperty(value = "摄像头访问密码")
|
||
private String password;
|
||
|
||
/**
|
||
* 备注
|
||
*/
|
||
@ExcelProperty(value = "备注")
|
||
private String remark;
|
||
|
||
|
||
}
|