from django.contrib import admin
from .models import Customer


# Register your models here.
@admin.register(Customer)
class CustomerAdmin(admin.ModelAdmin):
    list_display = ['id', 'name', 'name_extracted', 'phone', 'company']
    list_filter = ['company', 'last_call_at']
    search_fields = ['name', 'company', 'phone']
    ordering = ['-created_at']
