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.

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace App\Model\Module;
  3. use Jenssegers\Mongodb\Eloquent\Model as Eloquent;
  4. use Jenssegers\Mongodb\Eloquent\SoftDeletes;
  5. class Investigation extends Eloquent
  6. {
  7. //
  8. use SoftDeletes;
  9. protected $connection = 'mongodb';
  10. protected $collection = 'investigation';
  11. protected $guarded = ['_id'];
  12. public function confidentialfile()
  13. {
  14. return $this->belongsTo('App\Model\Module\ConfidentialFile');
  15. }
  16. public function attachment(){
  17. return $this->hasMany('App\Model\Module\Attachment');
  18. }
  19. }