old_contents: from .models import Employee
  from rest_framework import serializers
  
  
  class EmployeeSerializer(serializers.ModelSerializer):
      class Meta:
          model = Employee
          fields = ('pk',
                    'username',
                    'email',
                    'first_name',
                    'last_name',
                    'role',
                    'skype_id',
                    'last_month_score',
                    'current_month_score',
                    'level',
                    'score',
                    'is_active',
                    'last_login')
  
  
  class EmployeeListSerializer(serializers.ModelSerializer):
      class Meta:
          model = Employee
          fields = ('pk',
                    'username',
                    'email',
                    'first_name',
                    'last_name',
                    'level',
                    'avatar',
                    'score')
  
  
  class EmployeeAvatarSerializer(serializers.ModelSerializer):
      class Meta:
          model = Employee
          fields = ('pk', 'avatar')
  
new_contents: from .models import Employee
  from rest_framework import serializers
  
  
  class EmployeeSerializer(serializers.ModelSerializer):
      class Meta:
          model = Employee
          depth = 1
          fields = ('pk',
                    'username',
                    'email',
                    'first_name',
                    'last_name',
                    'role',
                    'skype_id',
                    'last_month_score',
                    'current_month_score',
                    'level',
                    'score',
                    'categories',
                    'is_active',
                    'last_login')
  
  
  class EmployeeListSerializer(serializers.ModelSerializer):
      class Meta:
          model = Employee
          fields = ('pk',
                    'username',
                    'email',
                    'first_name',
                    'last_name',
                    'level',
                    'avatar',
                    'score')
  
  
  class EmployeeAvatarSerializer(serializers.ModelSerializer):
      class Meta:
          model = Employee
          fields = ('pk', 'avatar')
  
subject: Add 1 level depth and also categories fields to employee serializer