<?php

namespace App\Models;

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

class ConstructionWorkstation extends Model
{
    use HasFactory;

    public $timestamps = false;

    protected $table = 'construction_workstations';

    protected $primaryKey = 'id_workstations';

    public function workstationsAssociationTasks()
    {
        return $this->hasMany(WorkstationsAssociationTasks::class, 'id_workstations','id_workstations');
    }
}
