databases and models
This commit is contained in:
38
app/Models/SRP/Ships.php
Normal file
38
app/Models/SRP/Ships.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\SRP;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Ships extends Model
|
||||
{
|
||||
// Table Name
|
||||
protected $table = 'srp_ships';
|
||||
|
||||
//Primary Key
|
||||
public $primaryKey = 'id';
|
||||
|
||||
// Timestamps
|
||||
public $timestamps = false;
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'character_id',
|
||||
'character_name',
|
||||
'fleet_commander_id',
|
||||
'floot_commander_name',
|
||||
'zkillboard',
|
||||
'ship_type',
|
||||
'fleet_type',
|
||||
'loss_value',
|
||||
'approval',
|
||||
'paid_value',
|
||||
'notes',
|
||||
'paid_by_id',
|
||||
'paid_by_name',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user