This commit is contained in:
2018-11-05 19:34:23 -06:00
parent 2fd2d65904
commit 2f64df2899
2 changed files with 6 additions and 6 deletions
+28
View File
@@ -0,0 +1,28 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class EsiScope extends Model
{
// Table Name
protected $table = 'EsiScopes';
// 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');
}
}