from rest_framework import serializers

from mneia_admin_backend.models import WorkURL


class WorkURLSerializer(serializers.ModelSerializer):
    class Meta:
        model = WorkURL
        fields = ("id", "work", "url", "type")
