package com.ruoyi.oa.domain.vo;
|
|
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
import com.alibaba.excel.annotation.ExcelProperty;
|
import com.ruoyi.common.annotation.Dict;
|
import com.ruoyi.common.annotation.ExcelDictFormat;
|
import com.ruoyi.common.convert.ExcelDictConvert;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import java.util.Date;
|
|
|
|
/**
|
* IoT设备视图对象 sg_iot
|
*
|
* @author ruoyi
|
* @date 2022-05-12
|
*/
|
@Data
|
@ApiModel("IoT设备视图对象")
|
@ExcelIgnoreUnannotated
|
public class SgIotVo {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
*
|
*/
|
@ExcelProperty(value = "")
|
@ApiModelProperty("")
|
private Long id;
|
/**
|
* 高校
|
*/
|
private Long schoolId;
|
/**
|
* 部署名称
|
*/
|
@ExcelProperty(value = "部署名称")
|
@ApiModelProperty("部署名称")
|
private String deploymentName;
|
|
/**
|
* 版本
|
*/
|
@ExcelProperty(value = "版本", converter = ExcelDictConvert.class)
|
@ExcelDictFormat(dictType = "DICT110")
|
@ApiModelProperty("版本")
|
private String edition;
|
|
/**
|
* LAN
|
*/
|
@ExcelProperty(value = "LAN")
|
@ApiModelProperty("LAN")
|
private String lan;
|
|
/**
|
* IP
|
*/
|
@ExcelProperty(value = "IP")
|
@ApiModelProperty("IP")
|
private String ip;
|
|
/**
|
* 安装位置
|
*/
|
@ExcelProperty(value = "安装位置")
|
@ApiModelProperty("安装位置")
|
@Dict(dictTable = "bs_building", dicCode = "id", dicText = "detailed_name")
|
private Long buildingId;
|
|
/**
|
* 所属单位
|
*/
|
@ExcelProperty(value = "所属单位")
|
@ApiModelProperty("所属单位")
|
@Dict(dictTable = "bs_organization", dicCode = "id", dicText = "detailed_name")
|
private Long organizationId;
|
|
/**
|
* 施工批次
|
*/
|
@ExcelProperty(value = "施工批次")
|
@ApiModelProperty("施工批次")
|
@Dict(dictTable = "sg_construction_batch", dicCode = "id", dicText = "batch")
|
private Long constructionBatchId;
|
|
/**
|
* 序列号
|
*/
|
@ExcelProperty(value = "序列号")
|
@ApiModelProperty("序列号")
|
private String serialNumber;
|
|
/**
|
* 型号
|
*/
|
@ExcelProperty(value = "型号")
|
@ApiModelProperty("型号")
|
private String model;
|
|
/**
|
* 生产厂商
|
*/
|
@ExcelProperty(value = "生产厂商")
|
@ApiModelProperty("生产厂商")
|
@Dict(dictTable = "dev_manufacturer", dicCode = "id", dicText = "name")
|
private Long manufacturerId;
|
|
/**
|
* 监控对象
|
*/
|
@ExcelProperty(value = "监控对象")
|
@ApiModelProperty("监控对象")
|
private String monitorObject;
|
|
/**
|
* 通道1
|
*/
|
@ExcelProperty(value = "通道1", converter = ExcelDictConvert.class)
|
@ApiModelProperty("通道1")
|
@Dict(dictTable = "dev_peripheral_unit", dicCode = "id", dicText = "name")
|
private Long passagewayOne;
|
|
/**
|
* 通道2
|
*/
|
@ExcelProperty(value = "通道2")
|
@ApiModelProperty("通道2")
|
@Dict(dictTable = "dev_peripheral_unit", dicCode = "id", dicText = "name")
|
private Long passagewayTwo;
|
|
/**
|
* 通道3
|
*/
|
@ExcelProperty(value = "通道3")
|
@ApiModelProperty("通道3")
|
@Dict(dictTable = "dev_peripheral_unit", dicCode = "id", dicText = "name")
|
private Long passagewayThree;
|
|
/**
|
* 通道4
|
*/
|
@ExcelProperty(value = "通道4")
|
@ApiModelProperty("通道4")
|
@Dict(dictTable = "dev_peripheral_unit", dicCode = "id", dicText = "name")
|
private Long passagewayFour;
|
|
|
}
|