'ID', 'mall_id' => 'Mall ID', 'user_id' => 'User ID', 'item_id' => 'Item ID', 'log_type' => 'Log Type', 'status' => 'Status', 'created_at' => 'Created At', 'updated_at' => 'Updated At', 'ext_data' => 'Ext Data', ]; } public function getGoods() { return $this->hasOne(Goods::class, ['id' => 'object_id']); } }