<?php

namespace App\Models;

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

class Locator extends Model
{
    use SoftDeletes;

    protected $fillable = [
        'plant_id',
		'locator_number',
        'locator_quantity',
		'operator_id',
    ];

    public function plant(): BelongsTo
    {
        return $this->belongsTo(Plant::class);
    }
}
