from rest_framework import serializers
from ..models import Collaborator


class CollaboratorSerializer(serializers.ModelSerializer):

    class Meta:
        model = Collaborator
        fields = ('id', 'first_name', 'last_name', 'age', 'sex', 'email', )
