Ocultando los campos de timestamps de los modelos

This commit is contained in:
2021-07-20 03:24:32 -04:00
parent 245c8bfa4b
commit 6314c125f7
30 changed files with 30 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ use Illuminate\Database\Eloquent\SoftDeletes;
class BodegaActual extends Model {
protected $table = 'bodega_actual';
protected $hidden = ['created_at', 'updated_at', 'deleted_at'];
public function restaurante() {