ResourcePart.class.php 385 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Define a ResourcePart.
  4. * @author Chuck NORRIS
  5. * @category Plugin
  6. * @license copyright
  7. */
  8. class ResourcePart extends Entity{
  9. public $id,$part,$resource;
  10. protected $TABLE_NAME = 'part_resource_part';
  11. public $fields =
  12. array(
  13. 'id' => 'key',
  14. 'part' => 'int',
  15. 'resource' => 'int'
  16. );
  17. public $links = array(
  18. 'part' => 'Part',
  19. 'resource' => 'Resource'
  20. );
  21. }
  22. ?>