DYL0109
2025-04-16 75f043dfa6660716364e66ee0b3cf99f44255686
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
102
103
package com.zhitan.model.domain;
 
import com.zhitan.common.annotation.Excel;
import com.zhitan.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
 
/**
 * 采集参数模板对象 daq_template
 *
 * @author ruoyi
 * @date 2020-02-08
 */
public class DaqTemplate extends BaseEntity {
  private static final long serialVersionUID = 1L;
 
  /**
   * 主键
   */
  private String id;
 
  /**
   * 参数编码
   */
  @Excel(name = "参数编码")
  private String code;
 
  @Excel(name = "采集编码")
  private String gatewayKey;
  /**
   * 参数名称
   */
  @Excel(name = "参数名称")
  private String name;
 
  /**
   * 参数所属类型
   */
  @Excel(name = "参数所属类型")
  private String deviceType;
 
  @Excel(name = "单位")
  private String unit;
 
  public void setId(String id) {
    this.id = id;
  }
 
  public String getId() {
    return id;
  }
 
  public void setCode(String code) {
    this.code = code;
  }
 
  public String getCode() {
    return code;
  }
 
  public void setName(String name) {
    this.name = name;
  }
 
  public String getName() {
    return name;
  }
 
  public void setDeviceType(String deviceType) {
    this.deviceType = deviceType;
  }
 
  public String getDeviceType() {
    return deviceType;
  }
 
  @Override
  public String toString() {
    return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
        .append("id", getId())
        .append("code", getCode())
        .append("name", getName())
        .append("deviceType", getDeviceType())
        .append("unit", getUnit())
        .toString();
  }
 
  public String getUnit() {
    return unit;
  }
 
  public void setUnit(String unit) {
    this.unit = unit;
  }
 
  public String getGatewayKey() {
    return gatewayKey;
  }
 
  public void setGatewayKey(String gatewayKey) {
    this.gatewayKey = gatewayKey;
  }
}