<?php

namespace App\Models;

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

class ReportDataTestimoniOculari extends Model
{
    use HasFactory;

    //protected $primaryKey = 'progressive';
    public $timestamps = false;
    protected $table = 'fcf_reports_report_data_testi_oculari';

    protected $fillable = [
        'report_id',
        'progressive',
        'testi_oculari' ,
        'stato_testi_oculari'

    ];

    public function teste()
    {
        return $this->belongsTo(\App\Models\Anagrafica::class, 'testi_oculari');
    }

}
