<?php

namespace App\Models;

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

class MobileAdsVehicleLicense extends Model
{
    use HasFactory;

    protected $table = 'mobile_ads_vehicle_license';

    protected $fillable = [
        'vehicle_license',
        'branding_details',
        'vehicle_type',
    ];

    public function mobileAds() {
        return $this->belongsTo(mobilead::class, 'mobilead_id');
    }
}
