Dashboard sipadu mbip
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

Notification.php 435B

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. }