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

@@ -11,6 +11,7 @@ class Efectivo extends Model {
use UuidPrimaryKey, SoftDeletes;
protected $table = 'efectivos';
protected $hidden = ['created_at', 'updated_at', 'deleted_at'];
public function caja() {
return $this->belongsTo(Caja::class);