<?php
/**
 * Created by PhpStorm.
 * User: ntaylor-visionware
 * Date: 1/13/18
 * Time: 6:24 PM
 */

namespace Hilco\Models;

use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;

class CroakiesAdventuresTiers extends WebModel
{
    protected $table = 'CroakiesAdventuresTiers';
    protected $fillable = ['customer_id', 'first_qualified_date', 'latest_qualified_date', 'tier', 'upgrade_reason', 'commit_sequence'];

    use HasCommitSequence;

    public function customer() {
        return $this->belongsTo(Customer::class, 'customer_id', 'id');
    }

}