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;
|
|
|
|
/**
|
* 交换设备视图对象 sg_exchange
|
*
|
* @author ruoyi
|
* @date 2022-05-13
|
*/
|
@Data
|
@ApiModel("交换设备视图对象")
|
@ExcelIgnoreUnannotated
|
public class SgExchangeVo {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
*
|
*/
|
@ExcelProperty(value = "")
|
@ApiModelProperty("")
|
private Long id;
|
|
/**
|
* 高校
|
*/
|
@ExcelProperty(value = "高校")
|
@ApiModelProperty("高校")
|
private Long schoolId;
|
|
/**
|
* 网络端口
|
*/
|
@ExcelProperty(value = "网络端口", converter = ExcelDictConvert.class)
|
@ExcelDictFormat(dictType = "DICT113")
|
@ApiModelProperty("网络端口")
|
private String networkPort;
|
|
/**
|
* 指标A
|
*/
|
@ExcelProperty(value = "指标A", converter = ExcelDictConvert.class)
|
@ExcelDictFormat(dictType = "DICT114")
|
@ApiModelProperty("指标A")
|
private String idnexA;
|
|
/**
|
* 级联端口
|
*/
|
@ExcelProperty(value = "级联端口", converter = ExcelDictConvert.class)
|
@ExcelDictFormat(dictType = "DICT113")
|
@ApiModelProperty("级联端口")
|
private String cascadePort;
|
|
/**
|
* 指标B
|
*/
|
@ExcelProperty(value = "指标B", converter = ExcelDictConvert.class)
|
@ExcelDictFormat(dictType = "DICT114")
|
@ApiModelProperty("指标B")
|
private String indexB;
|
|
/**
|
* 安装位置
|
*/
|
@ExcelProperty(value = "安装位置")
|
@ApiModelProperty("安装位置")
|
@Dict(dictTable = "bs_building", dicCode = "id", dicText = "detailed_name")
|
private Long buildingId;
|
|
/**
|
* 详细地址
|
*/
|
@ExcelProperty(value = "详细地址")
|
@ApiModelProperty("详细地址")
|
private String address;
|
|
/**
|
* 所属单位
|
*/
|
@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;
|
/**
|
* 附件
|
*/
|
private String filePath;
|
|
|
}
|