public function restore()
     {
         if ($this->isKept) {
             $key = $this->getPKvalue();
             $sql = 'update '.$this->DBtable.' set deleted_at=null where '.$this->keyName." = '".$key."' ";
             //
             if (Database::exec($sql)) {
                 // Code to execute the init the model
             }
         }
     }