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_peripheral_unit
|
*
|
* @author ruoyi
|
* @date 2021-12-06
|
*/
|
@Data
|
@ApiModel("外设单元视图对象")
|
@ExcelIgnoreUnannotated
|
public class DevPeripheralUnitVo {
|
|
private static final long serialVersionUID = 1L;
|
|
private Long id;
|
|
/**
|
* 外设代码
|
*/
|
@ExcelProperty(value = "外设代码")
|
@ApiModelProperty("外设代码")
|
private String code;
|
|
/**
|
* 外设名称
|
*/
|
@ExcelProperty(value = "外设名称")
|
@ApiModelProperty("外设名称")
|
private String name;
|
|
/**
|
* 规格型号
|
*/
|
@ExcelProperty(value = "规格型号")
|
@ApiModelProperty("规格型号")
|
private String model;
|
|
/**
|
* 生产厂商
|
*/
|
@ExcelProperty(value = "生产厂商")
|
@ApiModelProperty("生产厂商")
|
@Dict(dictTable = "dev_manufacturer", dicCode = "id", dicText = "name")
|
private String manufacturer;
|
|
/**
|
* 厂商代码
|
*/
|
@ExcelProperty(value = "厂商代码")
|
@ApiModelProperty("厂商代码")
|
@Dict(dictTable = "dev_manufacturer", dicCode = "id", dicText = "code")
|
private String vendorCode;
|
|
/**
|
* 波特率
|
*/
|
@ExcelProperty(value = "波特率", converter = ExcelDictConvert.class)
|
@ExcelDictFormat(dictType = "DICT103")
|
@ApiModelProperty("波特率")
|
private String baudRate;
|
|
/**
|
* 读数指令
|
*/
|
@ExcelProperty(value = "读数指令")
|
@ApiModelProperty("读数指令")
|
private String readInstruction;
|
|
/**
|
* 回数长度
|
*/
|
@ExcelProperty(value = "回数长度")
|
@ApiModelProperty("回数长度")
|
private Integer loopLength;
|
|
/**
|
* 功能描述
|
*/
|
@ExcelProperty(value = "功能描述")
|
@ApiModelProperty("功能描述")
|
private String description;
|
|
/**
|
* 附件
|
*/
|
private String filePath;
|
|
}
|