<?php

namespace App\Models;

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

class ReportDataInfortunati extends Model
{
    use HasFactory;

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

    protected $fillable = [
        'report_id',
        'progressive',
        'infortunato'
    ];

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

}
