唐耀东
2021-12-31 0b977fb16e8272739bbe25973947f45a55ebe842
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
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;
 
}