<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class ThirdPartyOffchargeAndExpunction extends Model
{
    use HasFactory;

    protected $table = 'thirdparty_offcharge_expunction';

    protected $fillable = [
        'type_charges',
        'letter_offcharge'
    ];

    protected $casts = [
       'offcharge_expunction_bill' => 'boolean'
    ];

    public function thirdPartyOutdoor() {
        return $this->belongsTo(ThirdPartyOutdoor::class);
    }
}
