<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Vendor extends Model
{
    protected $fillable = [
        'user_id', 'store_name', 'complete_address', 'gstin', 'longitude', 'latitude', 
        'services', 'pan', 'balance', 'store_adhar', 'store_documents', 'store_pictures', 
        'store_selfies', 'profile_image', 'online_status', 'approval_status', 'total_orders', 
        'opening_hours'
    ];

    protected $casts = [
        'services' => 'array',
        'store_adhar' => 'array',
        'store_documents' => 'array',
        'store_pictures' => 'array',
        'store_selfies' => 'array',
        'opening_hours' => 'array',
    ];
}
