next commit
This commit is contained in:
@@ -1,10 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App;
|
||||
namespace App\Models\Esi;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class EsiScope extends Model
|
||||
{
|
||||
//
|
||||
}
|
||||
// Table Name
|
||||
protected $table = 'esi_scopes';
|
||||
|
||||
// Timestamps
|
||||
public $timestamps = true;
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'character_id',
|
||||
'scope',
|
||||
];
|
||||
|
||||
public function user() {
|
||||
return $this->belongsTo('App\Models\User\User', 'character_id', 'character_id');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user