jumpserver/apps/tickets/serializers/assignee.py

10 lines
232 B
Python
Raw Normal View History

from rest_framework import serializers
__all__ = ['AssigneeSerializer']
class AssigneeSerializer(serializers.Serializer):
id = serializers.UUIDField()
name = serializers.CharField()
username = serializers.CharField()