UserPreference.class.php 407 B

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