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