dingxin_toolbox
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.

8 lines
295 B

from rest_framework import serializers, fields
from update.models import Cinema
class CinemaSerializer(serializers.ModelSerializer):
class Meta:
model = Cinema
fields = ('id', 'name', 'ip', 'zz_num', 'inner_id', 'db_user', 'db_pwd', 'sys_ver', 'client_ver', 'update_time')