public function getById($template_id) { return \DB::table($this->getTableName())->where($this->getTableName() . '.id', $template_id)->first(); }