Comming ucUs SH3LL V.2

Path : /home/gujo45me/public_html/trading/app/Models/
Disable Functions : exec,passthru,shell_exec,system
System : Linux server-604606.appsiete.com 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64

[ Home ][ Zone-h ][ Jumping ][ Symlink ][ Mass Depes ][ Command ]

File Upload :
Current File : /home/gujo45me/public_html/trading/app/Models/Retiro.php

<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Retiro extends Model
{
    protected $table = 'retiros';
    protected $primaryKey = 'id_retiro';

    protected $fillable = [
        'id_retiro', 'id_local', 'id_producto','id_usuario', 'motivo_retiro', 'cantidad_retiro', 'monto_perdido', 'estado'
    ];

    public function usuario()
    {
        return $this->belongsTo('App\Models\Usuario', 'id_usuario');
    }
    public function local()
    {
        return $this->belongsTo('App\Models\Local', 'id_local');
    }
    public function producto()
    {
        return $this->belongsTo('App\Models\Producto', 'id_producto');
    }
}

Copyright © 2019 | Powered By MecUs7