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.
22 lines
443 B
22 lines
443 B
<?php
|
|
|
|
namespace App\Admin\Repositories;
|
|
|
|
use App\Models\ImsCjdcMarket as Model;
|
|
use Dcat\Admin\Repositories\EloquentRepository;
|
|
|
|
class ImsCjdcMarket extends EloquentRepository
|
|
{
|
|
/**
|
|
* Model.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $eloquentClass = Model::class;
|
|
|
|
// 通过这个方法可以指定查询的字段,默认"*"
|
|
public function getGridColumns()
|
|
{
|
|
return [$this->getKeyName(), 'name'];
|
|
}
|
|
}
|