PlanningEventResource.class.php 697 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * Define a Ressource planning
  4. * @author Administrateur PRINCIPAL
  5. * @category Plugin
  6. * @license MIT
  7. */
  8. class PlanningEventResource extends Entity{
  9. public $id;
  10. public $resource; //Ressource (Liste configurable)
  11. public $event; //Evenement (Nombre Entier)
  12. protected $TABLE_NAME = 'planning_event_resource';
  13. public $entityLabel = 'Ressource planning';
  14. public $fields = array(
  15. 'id' => array('type'=>'key', 'label' => 'Identifiant'),
  16. 'resource' => array('type'=>'dictionary', 'label' => 'Ressource'),
  17. 'event' => array('type'=>'integer', 'label' => 'Evenement','link'=>'plugin/planning/PlanningEvent.class.php')
  18. );
  19. //Colonnes indexées
  20. public $indexes = array();
  21. }
  22. ?>