from django.contrib import admin

from .models import Game


@admin.register(Game)
class GameAdmin(admin.ModelAdmin):
    list_display = ["name", "steam_app_id", "enabled", "updated_at"]
    list_filter = ["enabled"]
    search_fields = ["name", "steam_app_id"]
    readonly_fields = ["created_at", "updated_at"]
