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