Browse Source

更新数据模型

master
453530270@qq.com 3 years ago
parent
commit
4e501cb953
  1. 8
      app/Models/DataKye.php
  2. 8
      app/Models/DataMpob (2).php
  3. 8
      app/Models/DataMpob.php
  4. 6
      app/Models/DataRute.php
  5. 8
      app/Models/DataRvm.php
  6. 8
      app/Models/DataShip.php
  7. 8
      app/Models/DataTomb.php

8
app/Models/DataKye.php

@ -12,17 +12,17 @@ namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class DataBtu extends Model
class DataKye extends Model
{
protected $primaryKey = 'id';
protected $table = 'data_btu';
protected $table = 'data_kye';
protected $guarded = [];
public $timestamps = false;
public $attributes = [
'pid' => 0,
'Symbol' => 'BTU',
'Name' => 'BTU',
'Symbol' => 'KYE',
'Name' => 'KYE',
'Price2' => 0,
'Price3' => 0,
'Open_Int' => 0,

8
app/Models/DataMpdb.php → app/Models/DataMpob (2).php

@ -12,17 +12,17 @@ namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class DataTzw extends Model
class DataMpob extends Model
{
protected $primaryKey = 'id';
protected $table = 'data_tzw';
protected $table = 'data_mpob';
protected $guarded = [];
public $timestamps = false;
public $attributes = [
'pid' => 0,
'Symbol' => 'TZW',
'Name' => 'TZW',
'Symbol' => 'MPOB',
'Name' => 'MPOB',
'Price2' => 0,
'Price3' => 0,
'Open_Int' => 0,

8
app/Models/DataMpob.php

@ -12,17 +12,17 @@ namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class DataMpgb extends Model
class DataMpob extends Model
{
protected $primaryKey = 'id';
protected $table = 'data_mpgb';
protected $table = 'data_mpob';
protected $guarded = [];
public $timestamps = false;
public $attributes = [
'pid' => 0,
'Symbol' => 'MPGB',
'Name' => 'MPGB',
'Symbol' => 'MPOB',
'Name' => 'MPOB',
'Price2' => 0,
'Price3' => 0,
'Open_Int' => 0,

6
app/Models/DataRute.php

@ -12,7 +12,7 @@ namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class DataUin extends Model
class DataRute extends Model
{
protected $primaryKey = 'id';
protected $table = 'data_uin';
@ -21,8 +21,8 @@ class DataUin extends Model
public $attributes = [
'pid' => 0,
'Symbol' => 'UIN',
'Name' => 'UIN',
'Symbol' => 'RUTE',
'Name' => 'RUTE',
'Price2' => 0,
'Price3' => 0,
'Open_Int' => 0,

8
app/Models/DataRvm.php

@ -12,17 +12,17 @@ namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class DataTobr extends Model
class DataRvm extends Model
{
protected $primaryKey = 'id';
protected $table = 'data_tobr';
protected $table = 'data_rvm';
protected $guarded = [];
public $timestamps = false;
public $attributes = [
'pid' => 0,
'Symbol' => 'TOBR',
'Name' => 'TOBR',
'Symbol' => 'RVM',
'Name' => 'RVM',
'Price2' => 0,
'Price3' => 0,
'Open_Int' => 0,

8
app/Models/DataShip.php

@ -12,17 +12,17 @@ namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class DataMgc extends Model
class DataShip extends Model
{
protected $primaryKey = 'id';
protected $table = 'data_mgc';
protected $table = 'data_ship';
protected $guarded = [];
public $timestamps = false;
public $attributes = [
'pid' => 0,
'Symbol' => 'MGC',
'Name' => 'MGC',
'Symbol' => 'SHIP',
'Name' => 'SHIP',
'Price2' => 0,
'Price3' => 0,
'Open_Int' => 0,

8
app/Models/DataTomb.php

@ -12,17 +12,17 @@ namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class DataUnq extends Model
class DataTomb extends Model
{
protected $primaryKey = 'id';
protected $table = 'data_unq';
protected $table = 'data_tomb';
protected $guarded = [];
public $timestamps = false;
public $attributes = [
'pid' => 0,
'Symbol' => 'UNQ',
'Name' => 'UNQ',
'Symbol' => 'TOMB',
'Name' => 'TOMB',
'Price2' => 0,
'Price3' => 0,
'Open_Int' => 0,

Loading…
Cancel
Save