Controlador de bodega

This commit is contained in:
2021-07-20 03:17:55 -04:00
parent a5b91eb585
commit 245c8bfa4b
9 changed files with 242 additions and 4 deletions

View File

@@ -0,0 +1,20 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class BodegaEgreso extends Model {
protected $table = 'bodega_egresos';
public function restaurante() {
return $this->belongsTo(Restaurante::class);
}
public function ingrediente() {
return $this->belongsTo(Ingrediente::class);
}
}