<?php

namespace App\Models;

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

class PermissionsLogistica extends Model
{
    use HasFactory;
    protected $table = 'permissions_logistica';
    protected $fillable = [
        'id_user',
        'modulo',
        'mostrar',
        'eliminar',
        'editar',
        'registrar',
        'reporte',
    ];

    public function user()
    {
        return $this->belongsTo(User::class, 'id_user');
    }
}
