from rest_framework import serializers
from core.models.Team import Team

class TeamSerializer(serializers.ModelSerializer):
    class Meta:
        model = Team
        fields = ['id', 'name', 'description', 'max_persons', 'admin', 'subscription']
