This commit is contained in:
HuangHai
2026-02-05 15:55:17 +08:00
parent 4592b0da6f
commit 4712967fbe
88 changed files with 4768 additions and 219 deletions

View File

@@ -0,0 +1,34 @@
CREATE TABLE `t_connector` (
`id` bigint(20) unsigned NOT NULL auto_increment,
`equipment_id` bigint(20) NOT NULL COMMENT '所属设备编码id',
`connector_sn` varchar(50) NOT NULL COMMENT '接口编码',
`connector_short_sn` varchar(50) NOT NULL COMMENT '接口短编号',
`connector_no` tinyint(4),
`connector_name` varchar(30) COMMENT '接口名称',
`connector_type` tinyint(4) NOT NULL COMMENT '接口类型 1:家用插座;2:交流接口插座;3:交流接口插头;4:直流接口枪头 5:无线充电座;6:其它
1:家用插座;
2:交流接口插座;
3:交流接口插头;
4:直流接口枪头
5:无线充电座;
6:其它',
`voltage_upper_limits` smallint(8) NOT NULL COMMENT '额定电压上限',
`voltage_lower_limits` smallint(8) NOT NULL COMMENT '额定电压下限',
`current` smallint(4) NOT NULL DEFAULT '0' COMMENT '额定电流',
`power` double(8,1) NOT NULL DEFAULT '0.0' COMMENT '额定功率',
`parkno` varchar(20) COMMENT '车位号',
`appointment_id` bigint(20) COMMENT '预约记录id',
`appointment_user_id` bigint(20) COMMENT '预约记录的用户id',
`open_lock_user_id` bigint(20) COMMENT '开锁的用户id',
`detection_type` tinyint(4) DEFAULT '0' COMMENT '检测类型 0 无 1 检测平台 2 CNTE检测',
`is_ground_lock` tinyint(4) DEFAULT '0' COMMENT '0没有地锁 1有地锁',
`is_ground_lock_msg` varchar(20) COMMENT '是否配有地锁解释',
`is_geomagnetic` tinyint(4) DEFAULT '0' COMMENT '0没有地磁 1有地磁',
`is_geomagnetic_msg` varchar(20) COMMENT '是否配有地磁',
`is_appointment` tinyint(4) DEFAULT '0' COMMENT '0可预约 1已预约 2不可预约 ',