Dashboard sipadu mbip
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122
  1. <?php
  2. namespace App\Model\Module;
  3. use Illuminate\Notifications\Notifiable;
  4. use Jenssegers\Mongodb\Eloquent\Model as Eloquent;
  5. class Notification extends Eloquent
  6. {
  7. //
  8. use Notifiable;
  9. protected $connection = 'mongodb';
  10. protected $collection = 'notifasi';
  11. protected $guarded = ['_id'];
  12. public function staff()
  13. {
  14. return $this->belongsToMany('App\Model\Staff');
  15. }
  16. }