<?php

namespace App\Models;

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

class EpbtEcasResitItem extends Model
{
    use HasFactory;

    protected $connection = 'second_mysql';
    protected $table = 'ecas_resititem';
    public $incrementing = false;

    public function resit(){
        return $this->belongsTo(EpbtEcasResit::class, 'noresit', 'noresit');
    }
}
