<?php

namespace App\Models;

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

class EquipmentComments extends Model
{
    use HasFactory;

    public $timestamps = false;

    protected $table = 'equipment_comments';

    protected $primaryKey = 'equipment_comment_id';
    
    
    public function equipment()
    {
        return $this->belongsTo(Equipment::class, 'equipment_id', 'equipment_id');
    }
}
