<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Relations\BelongsTo;

class LineStop extends Model
{
    use SoftDeletes;

    protected $fillable = [
        "code",
        "reason",
    ];

    public function productionLineStops()
    {
        return $this->hasMany(ProductionLineStop::class, 'linestop_id');
    }
}
