<?php

namespace Salesloo\Models;

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

use Salesloo\Abstracts\Database;

/**
 * Commission Model
 */
class Commission extends Database
{
    protected $table = 'salesloo_commission';

    protected $columns = [
        'ID'         => 'integer',
        'user_id'    => 'integer',
        'invoice_id' => 'integer',
        'order_id'   => 'integer',
        'product_id' => 'integer',
        'amount'     => 'price',
        'status'     => 'string',
        'note'       => 'content',
        'created_at' => 'string',
        'updated_at' => 'string'
    ];

    protected $attributes = [];
}
