<?php
/**
 * Created by PhpStorm.
 * User: steven
 * Date: 6/27/18
 * Time: 12:44 PM
 */

namespace Hilco\Models;

use Hilco\SoftDeletes;

class ScheduledTaskSubType extends WebModel
{
    protected $table = 'ScheduledTaskSubTypes';
    protected $fillable = ['subtype', 'type_id'];

    public function scheduledTaskType(){
        return $this->belongsTo(ScheduledTaskType::class, 'type_id', 'id');
    }

    use SoftDeletes;
}