<?php

namespace App\Models;

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

class Customer extends Model
{
    use HasFactory;

    protected $table = 'customers'; // Pastikan sesuai dengan nama tabel di database

    protected $primaryKey = 'id_customer'; // Pastikan primary key sesuai

    protected $fillable = [
        'name', 'email', 'phone', 'status', 'alamat'
    ];
}

