<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class InputsActivitiesCostsNeeded extends Model
{
    protected $table = 'inputsActivitiesCostsneeded';

    protected $fillable = [
        'neededname',
        'unit',
        'quantity',
        'unitPrice',
        'totalPrice',
        'created_by',
    ];

public function creator()
{
    return $this->belongsTo(User::class, 'createdBy'); 
}


    public $timestamps = true;
}
