private static function insert(Hall $model)
 {
     $db = DatabaseData::getInstance(\RedDevil\Config\DatabaseConfig::DB_INSTANCE);
     $query = "INSERT INTO halls (Title,Capacity,VenueId) VALUES (:Title, :Capacity, :VenueId);";
     $result = $db->prepare($query);
     $result->execute([':Title' => $model->getTitle(), ':Capacity' => $model->getCapacity(), ':VenueId' => $model->getVenueId()]);
     $model->setId($db->lastInsertId());
 }
 function __construct(Hall $hall)
 {
     $this->hallId = $hall->getId();
     $this->hallTitle = $hall->getTitle();
     $this->capacity = $hall->getCapacity();
 }