<?php namespace app\model; use think\Model; class GoodModel extends Model { protected $table = 'fc_good'; protected $pk = 'id'; }