<?php
 class OfferModel extends Model
 {
     protected $data;
     protected $tableName = "offer";
     protected $dbh;

     public function __construct($data = "")
     {
         global $dbh;
         $this->data = $data;
         $this->dbh = $dbh;
     }
 }
?>