srp module
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Fleet extends Model
|
||||
{
|
||||
//Table Name
|
||||
protected $table = 'srp_fleet';
|
||||
|
||||
//Primary Key
|
||||
public $primaryKey = 'fleet_id';
|
||||
|
||||
//Timestamps
|
||||
public $timestamps = true;
|
||||
|
||||
//Fillable Items
|
||||
protected $fillable = [
|
||||
'fleet_id',
|
||||
'fleet_name',
|
||||
'fleet_commander',
|
||||
'fleet_commander_id',
|
||||
'fleet_type',
|
||||
'fleet_description',
|
||||
];
|
||||
}
|
||||
@@ -4,7 +4,7 @@ namespace App\Models\SRP;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Ship extends Model
|
||||
class SRPShip extends Model
|
||||
{
|
||||
//Table Name
|
||||
protected $table = 'srp_ships';
|
||||
@@ -17,9 +17,17 @@ class Ship extends Model
|
||||
|
||||
//Fillable Items
|
||||
protected $fillable = [
|
||||
'ship_type',
|
||||
'character_id',
|
||||
'character_name',
|
||||
'fleet_commander_name',
|
||||
'fleet_commander_id',
|
||||
'zkillboard',
|
||||
'ship_type',
|
||||
'loss_value',
|
||||
'notes',
|
||||
'approved',
|
||||
'paid_value',
|
||||
'paid_by_id',
|
||||
'paid_by_name',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user