TimeFixture.php 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?php
  2. /* Time Fixture generated on: 2011-11-20 21:59:39 : 1321822779 */
  3. /**
  4. * TimeFixture
  5. *
  6. */
  7. class TimeFixture 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. 'name' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 30, 'collate' => 'utf8_unicode_ci', 'comment' => 'noon, evening, ...', 'charset' => 'utf8'),
  16. 'slug' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 20, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
  17. 'min_hour' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 2, 'collate' => null, 'comment' => 'inclusivly'),
  18. 'max_hour' => array('type' => 'integer', 'null' => false, 'default' => '0', 'length' => 2, 'collate' => null, 'comment' => 'inclusivly'),
  19. 'description' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'),
  20. 'price' => array('type' => 'float', 'null' => false, 'default' => null, 'length' => '8,2', 'collate' => null, 'comment' => ''),
  21. 'price_premium' => array('type' => 'float', 'null' => false, 'default' => null, 'length' => '8,2', 'collate' => null, 'comment' => ''),
  22. 'created' => array('type' => 'datetime', 'null' => false, 'default' => null, 'collate' => null, 'comment' => ''),
  23. 'modified' => array('type' => 'datetime', 'null' => false, 'default' => null, 'collate' => null, 'comment' => ''),
  24. 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1)),
  25. 'tableParameters' => array()
  26. );
  27. /**
  28. * Records
  29. *
  30. * @var array
  31. */
  32. public $records = array(
  33. array(
  34. 'id' => '2',
  35. 'name' => 'Abend',
  36. 'slug' => 'evening',
  37. 'min_hour' => '16',
  38. 'max_hour' => '24',
  39. 'description' => '',
  40. 'price' => '9.90',
  41. 'price_premium' => '12.00',
  42. 'created' => '2011-03-09 14:47:54',
  43. 'modified' => '2011-10-07 15:13:29'
  44. ),
  45. array(
  46. 'id' => '1',
  47. 'name' => 'Mittag',
  48. 'slug' => 'noon',
  49. 'min_hour' => '10',
  50. 'max_hour' => '16',
  51. 'description' => '',
  52. 'price' => '6.90',
  53. 'price_premium' => '9.90',
  54. 'created' => '2011-03-09 14:47:54',
  55. 'modified' => '2011-10-07 15:13:06'
  56. ),
  57. );
  58. }