from rest_framework import serializers

class ListSerializers(serializers.Serializer):
    name = serializers.CharField(read_only=True)
    goods_code = serializers.CharField(read_only=True)
    goods_name = serializers.CharField(read_only=True)
    goods_qty = serializers.IntegerField(read_only=True)
    staff = serializers.CharField(read_only=True)
    cycle_count_balance = serializers.IntegerField(read_only=True)
    t_code = serializers.CharField(read_only=True)
    inbound_time = serializers.DateTimeField(read_only=True, format='%Y-%m-%d %H:%M:%S')
    create_time = serializers.DateTimeField(read_only=True, format='%Y-%m-%d %H:%M:%S')
    last_update_time = serializers.DateTimeField(read_only=True, format='%Y-%m-%d %H:%M:%S')
