liufumingren e8605149c0 初始化
2026-08-06 17:04:35 +08:00

25 lines
772 B
PHP

<?php
namespace app\common\model\wms;
use think\Model;
class Picking extends Model
{
protected $connection = 'db_wms';
// 表名
protected $name = 'picking';
public function space(){
return $this->belongsTo('app\common\model\wms\Space', 'SPACEID', 'ID', [], 'LEFT')->setEagerlyType(0);
}
public function stock(){
return $this->belongsTo('app\common\model\wms\Stock', 'STOCKID', 'STOCKID', [], 'LEFT')->setEagerlyType(0);
}
public function goods(){
return $this->belongsTo('app\common\model\wms\Goods', 'GOODSID', 'GOODSID', [], 'LEFT')->setEagerlyType(0);
}
public function order(){
return $this->belongsTo('app\common\model\wms\Order', 'WMSORDERID', 'ID', [], 'LEFT')->setEagerlyType(0);
}
}