<?php
/**
 * Created by PhpStorm.
 * User: ntaylor-visionware
 * Date: 1/17/18
 * Time: 10:51 AM
 */

namespace Hilco\Models;

use DB;

class PriceList_SalesOrder extends UuidModel
{
    protected $table = 'PriceList_SalesOrder';
    protected $fillable = ['price_list', 'salesorder_id', 'commit_sequence'];

    public function order() {
        return $this->belongsTo(Order::class, 'salesorder_id', 'id');
    }

    use HasCommitSequence;
}