<?php

namespace App\Models;

use App\Traits\UuidPrimaryKey;
use App\Exceptions\ModelNotFoundException;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class Efectivo extends Model {
    use UuidPrimaryKey, SoftDeletes;

    protected $table = 'efectivos';
    protected $hidden = ['created_at', 'updated_at', 'deleted_at', 'pivot'];

    public function caja() {
        return $this->belongsTo(Caja::class);
    }
}
