protected function onBeforeDelete()
 {
     parent::onBeforeDelete();
     foreach ($this->Questions() as $q) {
         $q->delete();
     }
 }
 protected function onBeforeDelete()
 {
     parent::onBeforeDelete();
 }
 protected function onBeforeWrite()
 {
     parent::onBeforeWrite();
 }