from rest_framework import serializers
from .models import HomeBanner


class HomeBannerSerializer(serializers.ModelSerializer):
    class Meta:
        model = HomeBanner
        fields = [
            'id', 'icon', 'badge', 'heading', 'highlight', 'subheading',
            'description', 'button_text', 'button_url', 'display_order',
            'is_active', 'created_at', 'updated_at'
        ]

