next commit

This commit is contained in:
2019-09-26 01:45:12 -05:00
parent e94b153718
commit 89a691af52
22 changed files with 1505 additions and 37 deletions
+21 -3
View File
@@ -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');
}
}