<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class AlergenoLang extends Model
{
    protected $table = 'alergeno_langs';
    public $timestamps = false;
    protected $fillable = ['alergeno_id', 'locale', 'nombre', 'descripcion'];
    
    /**
     * Relación con el modelo principal
     */
    public function alergeno()
    {
        return $this->belongsTo(Alergeno::class);
    }
}