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;
|
|
|
|
/**
|
* 智控设备视图对象 dev_equipment
|
*
|
* @author ruoyi
|
* @date 2021-12-05
|
*/
|
@Data
|
@ApiModel("智控设备视图对象")
|
@ExcelIgnoreUnannotated
|
public class DevEquipmentVo {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* id
|
*/
|
@ExcelProperty(value = "id")
|
@ApiModelProperty("id")
|
private Long id;
|
|
/**
|
* 序列号
|
*/
|
@ExcelProperty(value = "序列号")
|
@ApiModelProperty("序列号")
|
private Long serialNumber;
|
|
/**
|
* 设备类型
|
*/
|
@ExcelProperty(value = "设备类型", converter = ExcelDictConvert.class)
|
@ExcelDictFormat(dictType = "DICT101")
|
@ApiModelProperty("设备类型")
|
@Dict(dicCode = "DICT101")
|
private String type;
|
|
/**
|
* 序列码
|
*/
|
@ExcelProperty(value = "序列码")
|
@ApiModelProperty("序列码")
|
private String sequenceCode;
|
|
/**
|
* 版本
|
*/
|
@ExcelProperty(value = "版本")
|
@ApiModelProperty("版本")
|
private String edition;
|
|
/**
|
* 学校id
|
*/
|
@ExcelProperty(value = "学校id")
|
@ApiModelProperty("学校id")
|
@Dict(dictTable = "bs_school", dicCode = "id", dicText = "name")
|
private Long schoolId;
|
|
/**
|
* 主机ID
|
*/
|
@ExcelProperty(value = "主机ID")
|
@ApiModelProperty("主机ID")
|
private String hostId;
|
|
/**
|
* β网络ID
|
*/
|
@ExcelProperty(value = "β网络ID")
|
@ApiModelProperty("β网络ID")
|
private String networkId;
|
|
/**
|
* β工作频段
|
*/
|
@ExcelProperty(value = "β工作频段", converter = ExcelDictConvert.class)
|
@ExcelDictFormat(dictType = "DICT102")
|
@ApiModelProperty("β工作频段")
|
@Dict(dicCode = "DICT102")
|
private String frequencyBand;
|
|
/**
|
* 生产批次
|
*/
|
@ExcelProperty(value = "生产批次")
|
@ApiModelProperty("生产批次")
|
@Dict(dictTable = "dev_batch", dicCode = "id", dicText = "batch")
|
private Long batchId;
|
|
/**
|
* 在用状态
|
*/
|
@ExcelProperty(value = "在用状态", converter = ExcelDictConvert.class)
|
@ExcelDictFormat(dictType = "DICT104")
|
@ApiModelProperty("在用状态")
|
private String useStatus;
|
|
/**
|
* 备注
|
*/
|
@ExcelProperty(value = "备注")
|
@ApiModelProperty("备注")
|
private String remarks;
|
|
|
}
|