Scanfile.class.php 778 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * Define a Fichier
  4. * @author Valentin CARRUESCO
  5. * @category Plugin
  6. * @license copyright
  7. */
  8. class Scanfile extends Entity{
  9. public $id;
  10. public $tag; //Étiquettes (Étiquettes)
  11. public $client; //Client (Texte)
  12. public $element; //Élément document (Nombre Entier)
  13. protected $TABLE_NAME = 'skanman_scanfile';
  14. public $entityLabel = 'Fichier scanné';
  15. public $fields = array(
  16. 'id' => array('type'=>'key', 'label'=>'Identifiant'),
  17. 'tag' => array('type'=>'tag', 'label'=>'Étiquettes'),
  18. 'client' => array('type'=>'text', 'label'=>'Client','link'=>'plugin/client/Client.class.php'),
  19. 'element' => array('type'=>'integer', 'label'=>'Élement document', 'link'=>'plugin/document/Element.class.php'),
  20. );
  21. //Colonnes indexées
  22. public $indexes = array();
  23. }