<?php

namespace Salesloo\Models;

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

use Salesloo\Abstracts\Database;

/**
 * Affiliate click Model
 */
class Affiliate_Click extends Database
{
    protected $table = 'salesloo_affiliate_click';

    protected $columns = [
        'ID'           => 'integer',
        'affiliate_id' => 'intger',
        'visited_at'   => 'string',
        'product_id'   => 'integer',
        'uri'          => 'string',
        'referer'      => 'string',
        'device'       => 'string',
        'ip'           => 'string',
        'browser'      => 'string',
        'platform'     => 'string'
    ];

    protected $attributes = [];
}
