public function load()
 {
     $file = file_get_contents(__DIR__ . '/data/base_model.json');
     $fileData = json_decode($file);
     foreach ($fileData as $data) {
         $entity = new BaseModel();
         $save = $entity->save();
         if (!$save) {
             throw new \Exception('Save fail: ' . implode("\n", $entity->getMessages()));
         }
     }
 }