<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class FormEntertaimentPresentation extends Model
{
    use SoftDeletes;
    
    protected $table = 'form_entertainment_presentation';
    protected $fillable = [
        'expense_number',
        'user_id',
        'tanggal',
        'jenis',
        'keterangan',
        'total',
        'name',
        'alamat',
        'nik_or_npwp',
        'bukti1',
        'bukti2',
        'bukti3',
        'account_number',
        'status',
        'approved_at',
        'approved_by',
        'final_approved_at',
        'final_approved_by',
    ];

    public function user()
    {
        return $this->belongsTo('App\Models\Admin');
    }
}
