UserFirmRank.class.php 405 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * Define a user for a firm.
  4. * @author valentin carruesco
  5. * @category Core
  6. * @license copyright
  7. */
  8. class UserFirmRank extends Entity{
  9. public $id,$firm,$user,$rank;
  10. protected $TABLE_NAME = 'user_firm_rank';
  11. public $links = array(
  12. 'rank' => 'Rank',
  13. 'firm' => 'Firm'
  14. );
  15. protected $fields =
  16. array(
  17. 'id' => 'key',
  18. 'firm' => 'int',
  19. 'user' => 'string',
  20. 'rank' => 'int'
  21. );
  22. }
  23. ?>