from location import models
from location.serializers import common


class AddressCreateSerializer(common.AddressDetailSerializer):
    """Address create serializer."""


class CountryBackSerializer(common.CountrySerializer):
    """Country back-office serializer."""

    class Meta:
        model = models.Country
        fields = [
            'id',
            'code',
            'svg_image',
            'name',
            'country_id'
        ]
