MockDatabaseComment.php 706 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * Lithium: the most rad php framework
  4. *
  5. * @copyright Copyright 2013, Union of RAD (http://union-of-rad.org)
  6. * @license http://opensource.org/licenses/bsd-license.php The BSD License
  7. */
  8. namespace lithium\tests\mocks\data\model;
  9. class MockDatabaseComment extends \lithium\tests\mocks\data\MockBase {
  10. public static $connection = null;
  11. public $belongsTo = array('MockDatabasePost');
  12. protected $_meta = array('connection' => false);
  13. protected $_schema = array(
  14. 'id' => array('type' => 'integer'),
  15. 'post_id' => array('type' => 'integer'),
  16. 'author_id' => array('type' => 'integer'),
  17. 'body' => array('type' => 'text'),
  18. 'created' => array('type' => 'datetime')
  19. );
  20. }
  21. ?>