This commit is contained in:
2018-11-05 19:28:53 -06:00
parent a1997b3727
commit 0401cb3f8f
2 changed files with 10 additions and 10 deletions
+28
View File
@@ -0,0 +1,28 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class UserEsiScope extends Model
{
// Table Name
protected $table = 'UserEsiScopes';
// Timestamps
public $timestamps = true;
/**
* The attributes that are mass assignable
*
* @var array
*/
protected $fillable = [
'character_id',
'scope',
];
public function user() {
return $this->belongsTo('App\User', 'character_id', 'character_id');
}
}