from django.contrib import admin
from .models import Supplier


@admin.register(Supplier)
class SupplierAdmin(admin.ModelAdmin):
    list_display = ['name', 'country', 'is_verified', 'is_active', 'created_at']
    list_filter = ['is_verified', 'is_active', 'country']
    search_fields = ['name', 'description', 'team_uuid']
    readonly_fields = ['uuid', 'created_at', 'updated_at']
