mirror of https://github.com/interlegis/sapl.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
488 B
19 lines
488 B
from rest_framework import serializers
|
|
|
|
from .models import SessaoPlenaria
|
|
|
|
|
|
class SessaoPlenariaSerializer(serializers.Serializer):
|
|
|
|
class Meta:
|
|
model = SessaoPlenaria
|
|
fields = ('tipo',
|
|
'sessao_legislativa',
|
|
'legislatura',
|
|
'data_inicio',
|
|
'hora_inicio',
|
|
'hora_fim',
|
|
'url_video',
|
|
'iniciada',
|
|
'finalizada'
|
|
)
|
|
|