public function __construct($db)
 {
     parent::__construct($db);
     $this->db = $db;
 }