<?php namespace Romanah\Gokbakja\Models;

use Model;

/**
 * Model
 */
class Payment extends Model
{
    use \October\Rain\Database\Traits\Validation;

    use \October\Rain\Database\Traits\SoftDelete;

    protected $dates = ['deleted_at'];

    public $belongsTo = [
        'order' => [
            'Romanah\Gokbakja\Models\Order',
            'key' => 'order_id'
        ]
    ];


    /**
     * @var string The database table used by the model.
     */
    public $table = 'romanah_gokbakja_payment';

    /**
     * @var array Validation rules
     */
    public $rules = [
    ];
}
