Files
w4rpservices/app/Models/Charcter/CharacterToCorporation.php
drkthunder02 f2f3e9779a Added new models for Lookup Tables
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
2018-12-21 22:42:56 -06:00

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',
];
}