%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home2/rezakur1/duwit.rezakurnia.com/rechive-hub/app/Models/Budget/
Upload File :
Create Path :
Current File : //home2/rezakur1/duwit.rezakurnia.com/rechive-hub/app/Models/Budget/Budget.php

<?php

namespace App\Models\Budget;

use Illuminate\Database\Eloquent\Model;

class Budget extends Model
{

    protected $table = 'budgets';
    protected $fillable = [
        'name',
        'month',
        'year',
        'total_budget',
        'total_used',
        'total_remaining',
        'status',
        'is_locked',
        'note',
        'created_by',
    ];

    public function creator()
    {
        return $this->belongsTo(\App\Models\User::class, 'created_by');
    }

}

Zerion Mini Shell 1.0