public function scopes() { return ['new' => ['condition' => 't.status_id = :status_id', 'params' => [':status_id' => OrderStatus::STATUS_NEW]]]; }