<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class PermitStepOnpremise extends Model
{
    use HasFactory;

    protected $table = 'permits_steps_onpremise';

    protected $fillable = [
        'purpose',
        'current_steps'
    ];

    public function onPremise() {
        return $this->belongsTo(onpremise::class);
    }
}
