Files
alliance-services/app/Models/Esi/EsiScope.php
2026-03-08 05:05:39 -05:00

31 lines
561 B
PHP

<?php
namespace App\Models\Esi;
use Illuminate\Database\Eloquent\Model;
class EsiScope extends Model
{
// Table Name
protected $table = 'esi_scopes';
//Primary Key
public $primaryKey = 'id';
// Timestamps
public $timestamps = false;
/**
* The attributes that are mass assignable
*
* @var array
*/
protected $fillable = [
'character_id',
'scope',
];
public function user() {
return $this->belongsTo(App\Models\Auth\User::class, 'character_id', 'character_id');
}
}