You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
374 B
17 lines
374 B
<?php
|
|
|
|
namespace App\Models\Mongodb;
|
|
|
|
use Jenssegers\Mongodb\Eloquent\Model;
|
|
|
|
class KlineBook extends Model
|
|
{
|
|
// Kline集合
|
|
|
|
protected $connection = 'mongodb'; //库名
|
|
protected $collection = 'klineBook'; //文档名
|
|
protected $primaryKey = '_id'; //设置id
|
|
protected $guarded = [];
|
|
|
|
// public $timestamps = false;
|
|
}
|
|
|