# better-payment/2.2.1/includes/Model.php

Better Payment – Instant Payments, Donations, Fundraising with Subscriptions &amp; More, version 2.2.1. 40 lines.

- Page: https://pluginprobe.com/plugins/better-payment/2.2.1/code/includes/Model.php
- Raw: https://pluginprobe.com/plugins/better-payment/2.2.1/raw/includes/Model.php
- Modified: 2024-01-09T05:12:38+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/better-payment/2.2.1/code/includes/Model.php#L10-L20`.

```php
<?php

namespace Better_Payment\Lite;

use Better_Payment\Lite\Admin\DB;

/**
 * Exit if accessed directly
 */
if (!defined('ABSPATH')) {
    exit;
}

/**
 * Database Handler class
 * All DB related classes must extend this class
 * 
 * @since 0.0.1
 */

class Model {

    /**
     * Plugin database table name
     * 
     * @since 0.0.1
     */
    public $table_name = '';

    /**
     * Initialize the class
     * 
     * @since 0.0.1
     */
    public function __construct()
    {
        $this->table_name = DB::get_table_name();
    }
}

```
