"""
Location serializer
"""

from rest_framework import serializers

from core.apps.eggs import models


class LocationSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.Location
        fields = ("id", "long", "lat", "label")
