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

21 lines
391 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class BodegaIngreso extends Model {
protected $table = 'bodega_ingresos';
public function restaurante() {
return $this->belongsTo(Restaurante::class);
}
public function ingrediente() {
return $this->belongsTo(Ingrediente::class);
}
}