from typing import Type

from rest_framework import serializers

from apps.geology.models import Photo


class PhotoSerializer(serializers.ModelSerializer):
    class Meta:
        model: Type[Photo] = Photo
        fields: str = "__all__"
