Ekapp/skolehjem/app/UserEvent.php

19 lines
332 B
PHP
Raw Normal View History

2020-07-28 06:18:45 +00:00
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class UserEvent extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
//protected variable which contains name of database field(s) to be filled.
protected $fillable = [
'user_id', 'event_id'
];
2020-07-28 06:18:45 +00:00
}