Files
unified-restaurant-original/backend/app/Models/BodegaEgreso.php
2021-07-20 03:17:55 -04:00

21 lines
389 B
PHP

<?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);
}
}