PlanningShare.class.php 434 B

123456789101112131415161718192021
  1. <?php
  2. /**
  3. * Define a planningshare.
  4. * @author Valentin CARRUESCO
  5. * @category Plugin
  6. * @license copyright
  7. */
  8. class PlanningShare extends Entity{
  9. public $id,$planning,$recipient,$recipientEntity,$read,$edit;
  10. protected $TABLE_NAME = 'planning_share';
  11. public $fields =
  12. array(
  13. 'id' => 'key',
  14. 'planning' => 'int',
  15. 'recipient' => 'string',
  16. 'recipientEntity' => 'string',
  17. 'read' => 'boolean',
  18. 'edit' => 'boolean'
  19. );
  20. }
  21. ?>