moon avg update
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Moon;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class AvgMineralPrices extends Model
|
||||
{
|
||||
//Table Name
|
||||
protected $table = 'avg_mineral_prices';
|
||||
|
||||
//Primary Key
|
||||
public $primaryKey = 'id';
|
||||
|
||||
//Timestamps
|
||||
public $timestamps = true;
|
||||
|
||||
/**
|
||||
* Fillable array
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'Name',
|
||||
'ItemId',
|
||||
'Price',
|
||||
'Time',
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Moon;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class AvgOrePrices extends Model
|
||||
{
|
||||
//Table Name
|
||||
protected $table = 'avg_ore_prices';
|
||||
|
||||
//Primary Key
|
||||
public $primaryKey = 'id';
|
||||
|
||||
//Timestamps
|
||||
public $timestamps = true;
|
||||
|
||||
/**
|
||||
* Fillable array
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'Name',
|
||||
'ItemId',
|
||||
'BatchPrice',
|
||||
'UnitPrice',
|
||||
'm3Price',
|
||||
'Time',
|
||||
];
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
namespace App\Models\Moon;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
@@ -10,5 +10,17 @@ class Config extends Model
|
||||
protected $table = 'Config';
|
||||
|
||||
// Timestamps
|
||||
public $timestamps = 'false';
|
||||
public $timestamps = false;
|
||||
|
||||
/**
|
||||
* Fillable Array
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'RentalTax',
|
||||
'AllyRentalTax',
|
||||
'RefineRate',
|
||||
'RentalTime',
|
||||
];
|
||||
}
|
||||
|
||||
@@ -10,5 +10,5 @@ class ItemComposition extends Model
|
||||
protected $table = 'ItemComposition';
|
||||
|
||||
// Timestamps
|
||||
public $timestamps = 'false';
|
||||
public $timestamps = false;
|
||||
}
|
||||
|
||||
@@ -14,4 +14,16 @@ class Price extends Model
|
||||
|
||||
// Timestamps
|
||||
public $timestamps = false;
|
||||
|
||||
/**
|
||||
* Fillable Array
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'Name',
|
||||
'ItemId',
|
||||
'Price',
|
||||
'Time',
|
||||
];
|
||||
}
|
||||
@@ -13,5 +13,19 @@ class OrePrice extends Model
|
||||
public $primaryKey = 'id';
|
||||
|
||||
// Timestamps
|
||||
public $timestamps = 'false';
|
||||
public $timestamps = false;
|
||||
|
||||
/**
|
||||
* Fillable Array
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'Name',
|
||||
'ItemId',
|
||||
'BatchPrice',
|
||||
'UnitPrice',
|
||||
'm3Price',
|
||||
'Time',
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user