南昌市物联网技防平台-学校版后台
zengh
2021-06-03 723946c6b272e5aa4c7ec110ff1395f6c2b23e89
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.jfpt.equipment.entity;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.io.Serializable;
 
/**
 * 实体类
 *
 * @author BladeX
 * @since 2020-07-01
 */
@Data
@TableName("sys_equipment")
@ApiModel(value = "Equipment对象", description = "Equipment对象")
public class Equipment implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @JsonSerialize(using = ToStringSerializer.class)
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 设备名称
     */
    @ApiModelProperty(value = "设备名称")
    @TableField("deviceName")
    private String deviceName;
    /**
     * 设备编码
     */
    @ApiModelProperty(value = "设备编码")
    @TableField("deviceNumber")
    private String deviceNumber;
    /**
     * 设备类型
     */
    @ApiModelProperty(value = "设备类型")
    @TableField("deviceType")
    private String deviceType;
    /**
     * 权属
     */
    @ApiModelProperty(value = "权属")
    private String ownership;
    /**
     * 业主id
     */
    @ApiModelProperty(value = "业主id")
    @TableField("ownerId")
    private String ownerId;
    /**
     * 设备状态
     */
    @ApiModelProperty(value = "设备状态")
    private String devicestate;
    /**
     * 提交日期
     */
    @ApiModelProperty(value = "提交日期")
    private String stime;
    /**
     * 空间坐标
     */
//    @ApiModelProperty(value = "空间坐标")
//    private String coordinate;
    /**
     * 菜单父主键
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long parentId;
 
    private String jd;
 
    private String wd;
    private String addvcd;
    private String street;
    private String dtype;
    @TableField("serialNumber")
    private String serialNumber;
    private String stype;
    @TableField("channelNumber")
    private String channelNumber;
    private String pay;
    @TableField("expireTime")
    private String expireTime;
    private String heartbeat;
    private String province;
    private String city;
    private String district;
    private String state;
    private String reason;
 
    @TableField("deptId")
    private String deptId;
 
    @TableField("onePhone")
    private String onePhone;
    @TableField("twoPhone")
    private String twoPhone;
    @TableField("ThreePhone")
    private String ThreePhone;
    @TableField("oneId")
    private String oneId;
    @TableField("twoId")
    private String twoId;
    @TableField("threeId")
    private String threeId;
    @TableField("oneContacts")
    private String oneContacts;
    @TableField("twoContacts")
    private String twoContacts;
    @TableField("ThreeContacts")
    private String ThreeContacts;
    /**
     * 设备厂商名称
     */
    private String manufacturers;
 
    /**
     * 设备型号
     */
    @TableField("eq_model")
    private String eqModel;
 
    /**
     * 产品id,onenetstudio 平台生成
     */
    @TableField("pro_id")
    private String proId;
 
    /**
     * 设备秘钥,onenetstudio 平台生成
     */
    @TableField("eq_secret")
    private String eqSecret;
 
    /**
     * 设备名称,onenetstudio 平台生成
     */
    @TableField("eq_name")
    private String eqName;
 
    /**
     * 联网方式
     */
    @TableField("net_type")
    private String netType;
}