<?php

namespace App\Model;

use Jenssegers\Mongodb\Eloquent\Model as Eloquent;
use Jenssegers\Mongodb\Eloquent\SoftDeletes;

class Subscriber extends Eloquent {
    //
    use SoftDeletes;

	protected $connection = 'mongodb';
    protected $collection = 'subscribers';
	
	protected $guarded = ['_id'];

	public function form() {
        return $this->belongsTo('App\Model\Form','_id','_id');
    }
}
