changed table of Moons to RentalMoons
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Moon;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Moon extends Model
|
||||
{
|
||||
// Table Name
|
||||
protected $table = 'RentalMoons';
|
||||
|
||||
//Primary Key
|
||||
public $primaryKey = 'id';
|
||||
|
||||
// Timestamps
|
||||
public $timestamps = false;
|
||||
|
||||
protected $fillable = [
|
||||
'Region',
|
||||
'System',
|
||||
'Planet',
|
||||
'Moon',
|
||||
'StructureId',
|
||||
'StructureName',
|
||||
'FirstOre',
|
||||
'FirstQuantity',
|
||||
'SecondOre',
|
||||
'SecondQuantity',
|
||||
'ThirdOre',
|
||||
'ThirdQuantity',
|
||||
'FourthOre',
|
||||
'FourthQuantity',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user