CountryProvinceFixture.php 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. <?php
  2. /* CountryProvince Fixture generated on: 2011-11-20 21:58:52 : 1321822732 */
  3. /**
  4. * CountryProvinceFixture
  5. *
  6. */
  7. class CountryProvinceFixture extends CakeTestFixture {
  8. /**
  9. * Fields
  10. *
  11. * @var array
  12. */
  13. public $fields = array(
  14. 'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 10, 'key' => 'primary', 'collate' => null, 'comment' => ''),
  15. 'country_id' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 10, 'collate' => null, 'comment' => ''),
  16. 'abbr' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 3, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
  17. 'name' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 40, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
  18. 'lat' => array('type' => 'float', 'null' => false, 'default' => '0.000000', 'length' => '10,6', 'collate' => null, 'comment' => ''),
  19. 'lng' => array('type' => 'float', 'null' => false, 'default' => '0.000000', 'length' => '10,6', 'collate' => null, 'comment' => ''),
  20. 'modified' => array('type' => 'datetime', 'null' => false, 'default' => null, 'collate' => null, 'comment' => ''),
  21. 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1)),
  22. 'tableParameters' => array()
  23. );
  24. /**
  25. * Records
  26. *
  27. * @var array
  28. */
  29. public $records = array(
  30. array(
  31. 'id' => '1',
  32. 'country_id' => '1',
  33. 'abbr' => 'BAY',
  34. 'name' => 'Bayern',
  35. 'lat' => '48.790447',
  36. 'lng' => '11.497889',
  37. 'modified' => '2009-11-27 04:10:31'
  38. ),
  39. array(
  40. 'id' => '2',
  41. 'country_id' => '1',
  42. 'abbr' => 'BBG',
  43. 'name' => 'Brandenburg',
  44. 'lat' => '52.408417',
  45. 'lng' => '12.562492',
  46. 'modified' => '2009-11-27 04:10:32'
  47. ),
  48. array(
  49. 'id' => '3',
  50. 'country_id' => '1',
  51. 'abbr' => 'BER',
  52. 'name' => 'Berlin',
  53. 'lat' => '52.523403',
  54. 'lng' => '13.411400',
  55. 'modified' => '2009-11-27 04:10:31'
  56. ),
  57. array(
  58. 'id' => '4',
  59. 'country_id' => '1',
  60. 'abbr' => 'BRE',
  61. 'name' => 'Bremen',
  62. 'lat' => '53.074982',
  63. 'lng' => '8.807081',
  64. 'modified' => '2009-11-27 04:10:32'
  65. ),
  66. array(
  67. 'id' => '5',
  68. 'country_id' => '1',
  69. 'abbr' => 'BW',
  70. 'name' => 'Baden-Württemberg',
  71. 'lat' => '48.661606',
  72. 'lng' => '9.350134',
  73. 'modified' => '2009-11-27 04:10:31'
  74. ),
  75. array(
  76. 'id' => '6',
  77. 'country_id' => '1',
  78. 'abbr' => 'HES',
  79. 'name' => 'Hessen',
  80. 'lat' => '50.652050',
  81. 'lng' => '9.162438',
  82. 'modified' => '2009-11-27 04:10:38'
  83. ),
  84. array(
  85. 'id' => '7',
  86. 'country_id' => '1',
  87. 'abbr' => 'HH',
  88. 'name' => 'Hamburg',
  89. 'lat' => '53.553406',
  90. 'lng' => '9.992196',
  91. 'modified' => '2009-11-27 04:10:37'
  92. ),
  93. array(
  94. 'id' => '8',
  95. 'country_id' => '1',
  96. 'abbr' => 'MVP',
  97. 'name' => 'Mecklenburg-Vorp.',
  98. 'lat' => '0.000000',
  99. 'lng' => '0.000000',
  100. 'modified' => '0000-00-00 00:00:00'
  101. ),
  102. array(
  103. 'id' => '9',
  104. 'country_id' => '1',
  105. 'abbr' => 'NDS',
  106. 'name' => 'Niedersachsen',
  107. 'lat' => '52.636703',
  108. 'lng' => '9.845076',
  109. 'modified' => '2009-11-27 04:10:49'
  110. ),
  111. array(
  112. 'id' => '10',
  113. 'country_id' => '1',
  114. 'abbr' => 'NRW',
  115. 'name' => 'Nordrhein-Westfalen',
  116. 'lat' => '51.433235',
  117. 'lng' => '7.661594',
  118. 'modified' => '2009-11-27 04:10:49'
  119. ),
  120. );
  121. }