from django.contrib import admin

# Register your models here.


from .models import JsonToType


@admin.register(JsonToType)
class JsonToTypeAdmin(admin.ModelAdmin):
    list_display = (
        'id',
        'user',
        'title',
        'json_data',
        'type_data',
        'created_at',
        'updated_at',
        'is_active',
    )
    list_filter = ('user', 'created_at', 'updated_at', 'is_active')
    date_hierarchy = 'created_at'
