<?php namespace app\common\model; use library\tools\Data; use think\Model; class DepotOrder extends Model { public function itemList() { return $this->hasMany('DepotOrderItem','depot_order'); } }