company_park 1.1 KB

12345678910111213141516171819202122232425
  1. <?php return array (
  2. 'time' => 1449933422,
  3. 'table' => 'company_park',
  4. 'create' => 'DROP TABLE IF EXISTS `company_park`;CREATE TABLE `company_park`(`id` INT(11) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL COMMENT \'园区ID\',`reorder` INT(11) NOT NULL DEFAULT \'1\' COMMENT \'排序-数值越大越靠前\',`farm_id` INT(11) NOT NULL DEFAULT \'1\' COMMENT \'所属农场\',`name` VARCHAR(80) NOT NULL DEFAULT \'\' COMMENT \'园区名称\',`type` TINYINT(1) NOT NULL DEFAULT \'1\' COMMENT \'园区类型\',`gps` VARCHAR(200) NOT NULL DEFAULT \'\' COMMENT \'GPS信息\',`pic` VARCHAR(150) NOT NULL DEFAULT \'\' COMMENT \'园区平面图\',`state` TINYINT(1) NOT NULL DEFAULT \'1\' COMMENT \'状态\',`cdate` INT(11) NOT NULL DEFAULT 0 COMMENT \'录入时间\')',
  5. 'struct' =>
  6. array (
  7. 'id' => 0,
  8. 'reorder' => 1,
  9. 'farm_id' => 2,
  10. 'name' => 3,
  11. 'type' => 4,
  12. 'baidu' => 5,
  13. 'baidu_key' => 6,
  14. 'video' => 7,
  15. 'video_kj' => 8,
  16. 'video_yt' => 9,
  17. 'gps' => 10,
  18. 'quan' => 11,
  19. 'pic' => 12,
  20. 'status' => 13,
  21. 'state' => 14,
  22. 'cdate' => 15,
  23. ),
  24. 'alter' => 1,
  25. );