Comming ucUs SH3LL V.2

Path : /home/gujo45me/public_html/demo2/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/demo2/app/Models/DetalleDelivery.php

<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class DetalleDelivery extends Model
{
    protected $table = 'detalle_delivery';
    protected $primaryKey = 'id_detalle_delivery';

    protected $fillable = [
        'id_detalle_delivery','id_delivery', 'id_producto', 'cantidad', 'precio', 'descuento', 'subtotal', 'estado'
    ];

    public function proforma()
    {
        return $this->belongsTo('App\Models\Delivery', 'id_delivery');
    }
    public function producto()
    {
        return $this->belongsTo('App\Models\Producto', 'id_producto');
    }
}

Copyright © 2019 | Powered By MecUs7