public function __construct(Hall $hall)
 {
     $this->hallName = $hall->getName();
     $this->maxHallPlaces = $hall->getPlaces();
     $this->id = $hall->getId();
 }
 private static function update(Hall $model)
 {
     $db = Db::getInstance(\ConferenceScheduler\Configs\DatabaseConfig::DB_INSTANCE);
     $query = "UPDATE halls SET Name= :Name, places= :places, venueId= :venueId WHERE id = :id";
     $result = $db->prepare($query);
     $result->execute([':id' => $model->getId(), ':Name' => $model->getName(), ':places' => $model->getPlaces(), ':venueId' => $model->getVenueId()]);
 }