getStatusList(); return $list[$value] ?? ''; } public function user() { return $this->hasOne('\\app\\common\\model\\User', 'id', 'user_id',[], 'LEFT')->setEagerlyType(0); } public function goods() { return $this->hasOne('Goods', 'id', 'goods_id',[], 'LEFT')->setEagerlyType(0); } }