<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class TenantProfile extends Model
{
    protected $fillable = [
        'tenant_id',
        'trade_name',
        'business_type',
        'licensing_authority',
        'license_activity',
        'establishment_number',
        'immigration_establishment_number',
        'mohre_establishment_number',
        'icp_reference',
        'gdrfa_reference',
        'landline',
        'whatsapp_number',
        'website',
        'city',
        'area',
        'building_name',
        'office_number',
        'street',
        'po_box',
        'makani_number',
        'google_maps_url',
        'latitude',
        'longitude',
    ];

    public function tenant()
    {
        return $this->belongsTo(Tenant::class);
    }
}
