Added Auth

This commit is contained in:
chrosey
2017-06-15 12:47:36 +02:00
parent e6c4eb2009
commit 8b98db74a2
20 changed files with 614 additions and 23 deletions
+9
View File
@@ -7,4 +7,13 @@ use Illuminate\Database\Eloquent\Model;
class Eintragung extends Model
{
protected $table = "eintragungen";
protected $dates = ['kann_ab', 'kann_bis'];
public function veranstaltung(){
return $this->belongsTo('App\Veranstaltung');
}
public function user(){
return $this->belongsTo('App\User');
}
}