<?php

namespace App\Models;

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

class Customer extends Model
{
    use HasFactory;

    protected $fillable = [
        'customer_name',
        'mobile',
        'address1',
        'address2',
        'city',
        'state',
        'pincode',
        'gst_number',
    ];

    public function invoices()
    {
        return $this->hasMany(Invoice::class);
    }
}
