Added new Library class called LookupHelper to assist in easier access to reference tables across all classes. Added lookup table migrations Added chartjs package to composer, and laravel service provider modified routes to make it easier to see what is going on rather than having different names for post things from get pages
27 lines
474 B
PHP
27 lines
474 B
PHP
<?php
|
|
|
|
namespace App\Models\Character;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class CharacterToCorporation extends Model
|
|
{
|
|
// Table Name
|
|
public $table = 'character_to_corporation';
|
|
|
|
// Timestamps
|
|
public $timestamps = false;
|
|
|
|
/**
|
|
* The attributes that are mass assignable
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $fillable = [
|
|
'character_id',
|
|
'character_name',
|
|
'corporation_id',
|
|
'corporation_name',
|
|
];
|
|
}
|