created framework for market orders and public contracts

This commit is contained in:
2020-05-14 03:51:58 -05:00
parent 47b0949290
commit 5e435bdf1a
18 changed files with 720 additions and 27 deletions
+29
View File
@@ -0,0 +1,29 @@
<?php
namespace App\Models\Market;
use Illuminate\Database\Eloquent\Model;
class MarketPrice extends Model
{
//Table Name
protected $table = 'market_prices';
//Timestamps
public $timestamps = true;
/**
* Items which are mass assignable
*
* @var array
*/
protected $fillable = [
'type_id',
'adjusted_price',
'average_price',
'lowest_price',
'highest_price',
'order_count',
'volume',
];
}