UserNotification.class.php 362 B

12345678910111213141516171819
  1. <?php
  2. /**
  3. * Define a usernotification.
  4. * @author Valentin CARRUESCO
  5. * @category Plugin
  6. * @license copyright
  7. */
  8. class UserNotification extends Entity{
  9. public $id,$notification,$user,$read;
  10. protected $TABLE_NAME = 'user_notification';
  11. public $fields =
  12. array(
  13. 'id' => 'key',
  14. 'notification' => 'int',
  15. 'user' => 'string',
  16. 'read' => 'boolean'
  17. );
  18. }
  19. ?>