_tableName_ = 'extraParams'; parent::__construct($fromArray); } static function model() { return new self(); } public function delByPoint($pointId) { App::DB()->query('DELETE FROM `' . $this->_tableName_ . '` WHERE `pointId` = ' . $pointId); } }