from rest_framework.serializers import ModelSerializer

from appGates.models import Gate


class GateSerializer(ModelSerializer):
    class Meta:
        model = Gate
        fields = ('id', 'nome', 'ativo', 'created_at')

2a4b3de60b1cb53f5e029cf4971d450fa923c755
<mask token>

<mask token>


class GateSerializer(ModelSerializer):


    class Meta:
        model = Gate
        fields = 'id', 'nome', 'ativo', 'created_at'

from rest_framework.serializers import ModelSerializer
from appGates.models import Gate


class GateSerializer(ModelSerializer):


    class Meta:
        model = Gate
        fields = 'id', 'nome', 'ativo', 'created_at'

from rest_framework.serializers import ModelSerializer

from appGates.models import Gate


class GateSerializer(ModelSerializer):
    class Meta:
        model = Gate
        fields = ('id', 'nome', 'ativo', 'created_at')
