1234567891011121314151617181920 |
- <?php return array (
- 'time' => 1449933624,
- 'table' => 'company_device',
- 'create' => 'DROP TABLE IF EXISTS `company_device`;CREATE TABLE `company_device`(`id` INT(11) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL COMMENT \'ID\',`park_id` INT(11) NOT NULL DEFAULT \'-1\' COMMENT \'所属园区\',`device` VARCHAR(80) NOT NULL DEFAULT \'\' COMMENT \'设备ID\',`name` VARCHAR(32) NOT NULL DEFAULT \'\' COMMENT \'设备名\',`type` TINYINT(1) NOT NULL DEFAULT \'1\' COMMENT \'设备类型\',`system_id` INT(11) NOT NULL DEFAULT \'1\' COMMENT \'通讯码设备\',`server_id` INT(11) NOT NULL DEFAULT \'1\' COMMENT \'通讯服务器\',`sdate` INT(11) NOT NULL DEFAULT 0 COMMENT \'应用日期\',`info` VARCHAR(100) NOT NULL DEFAULT \'\' COMMENT \'备注\',`reorder` INT(11) NOT NULL DEFAULT \'1\' COMMENT \'排序-数值越大越靠前\',`state` TINYINT(1) NOT NULL DEFAULT \'1\' COMMENT \'状态\',`cdate` INT(11) NOT NULL DEFAULT 0 COMMENT \'录入时间\')',
- 'struct' =>
- array (
- 'id' => 0,
- 'park_id' => 1,
- 'device' => 2,
- 'name' => 3,
- 'type' => 4,
- 'system_id' => 5,
- 'server_id' => 6,
- 'sdate' => 7,
- 'info' => 8,
- 'reorder' => 9,
- 'state' => 10,
- 'cdate' => 11,
- ),
- );
|