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 BoletaExenta extends Model {
use UuidPrimaryKey, SoftDeletes;
protected $table = 'boletas_exentas';
protected $hidden = ['created_at', 'updated_at', 'deleted_at'];
public function venta() {
return $this->belongsTo(Venta::class);