修改表实体
This commit is contained in:
parent
d3b914f259
commit
16dbd0a1d4
@ -11,7 +11,7 @@ package com.qiuguo.iot.base.enums;
|
|||||||
// 1000秋果box android配置App 1001秋果Box iOS配置App
|
// 1000秋果box android配置App 1001秋果Box iOS配置App
|
||||||
public enum DeviceTypeEnum {
|
public enum DeviceTypeEnum {
|
||||||
GUO_BOX(0, "果box", "BOX"),
|
GUO_BOX(0, "果box", "BOX"),
|
||||||
ELECTRIC_SOCKET(1, "智能插座", "SOC"),
|
ELECTRIC_SOCKET(1, "涂鸦设备", "tuya"),
|
||||||
BIG_LIGHT(2, "智能大灯", "BIL"),
|
BIG_LIGHT(2, "智能大灯", "BIL"),
|
||||||
CURTAIN_DRIVE(3, "智能窗帘驱动", "CUR"),
|
CURTAIN_DRIVE(3, "智能窗帘驱动", "CUR"),
|
||||||
WINDOW_DRIVE(4, "智能窗户关闭", "WIN"),
|
WINDOW_DRIVE(4, "智能窗户关闭", "WIN"),
|
||||||
|
|||||||
@ -41,6 +41,10 @@ public class DeviceUserBindEntity extends GenericEntity<Long> {
|
|||||||
@Column(name = "device_id", nullable = false)
|
@Column(name = "device_id", nullable = false)
|
||||||
private Long deviceId;
|
private Long deviceId;
|
||||||
|
|
||||||
|
@Comment("三方设备id")
|
||||||
|
@Column(name = "other_device_id", nullable = true)
|
||||||
|
private String otherDeviceId;
|
||||||
|
|
||||||
@Comment("设备类型:0 果Box 1智能插座 2智能大灯 3智能窗帘驱动 4智能窗户关闭 5智能台灯 6智能桌子 7智能椅子 8智能风扇 9智能空调(遥控器) 10智能冰箱 11智能洗碗机 12智能电热水器 13温度传感器 14空气质量传感器 15光线传感器 16雨量传感器 17闭门器")
|
@Comment("设备类型:0 果Box 1智能插座 2智能大灯 3智能窗帘驱动 4智能窗户关闭 5智能台灯 6智能桌子 7智能椅子 8智能风扇 9智能空调(遥控器) 10智能冰箱 11智能洗碗机 12智能电热水器 13温度传感器 14空气质量传感器 15光线传感器 16雨量传感器 17闭门器")
|
||||||
@Column(name = "device_type", nullable = false)
|
@Column(name = "device_type", nullable = false)
|
||||||
private Integer deviceType;
|
private Integer deviceType;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user