Blame view

src/main/java/com/objecteye/entity/SyAreaEquipment.java 1.87 KB
c83b5b39   Liu Haoyu   项目创建, 集成spring-se...
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
  package com.objecteye.entity;
  
  import io.swagger.annotations.ApiModelProperty;
  
  import java.io.Serializable;
  
  public class SyAreaEquipment implements Serializable {
      @ApiModelProperty(value = "自增主键")
      private Integer id;
      @ApiModelProperty(value = "父id")
      private Integer parentId;
      @ApiModelProperty(value = "设备(区域)名称")
      private String name;
      @ApiModelProperty(value = "设备(区域)外键")
      private Integer typeId;
      @ApiModelProperty(value = "0表示区域,1表示设备")
      private Integer isEquipment;
  
      private static final long serialVersionUID = 1L;
  
      public Integer getId() {
          return id;
      }
  
      public void setId(Integer id) {
          this.id = id;
      }
  
      public Integer getParentId() {
          return parentId;
      }
  
      public void setParentId(Integer parentId) {
          this.parentId = parentId;
      }
  
      public String getName() {
          return name;
      }
  
      public void setName(String name) {
          this.name = name;
      }
  
      public Integer getTypeId() {
          return typeId;
      }
  
      public void setTypeId(Integer typeId) {
          this.typeId = typeId;
      }
  
      public Integer getIsEquipment() {
          return isEquipment;
      }
  
      public void setIsEquipment(Integer isEquipment) {
          this.isEquipment = isEquipment;
      }
  
      @Override
      public String toString() {
          StringBuilder sb = new StringBuilder();
          sb.append(getClass().getSimpleName());
          sb.append(" [");
          sb.append("Hash = ").append(hashCode());
          sb.append(", id=").append(id);
          sb.append(", parentId=").append(parentId);
          sb.append(", name=").append(name);
          sb.append(", typeId=").append(typeId);
          sb.append(", isEquipment=").append(isEquipment);
          sb.append(", serialVersionUID=").append(serialVersionUID);
          sb.append("]");
          return sb.toString();
      }
  }