add new app
This commit is contained in:
11
core/apps/wherehouse/serializers/inventory.py
Normal file
11
core/apps/wherehouse/serializers/inventory.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from rest_framework import serializers
|
||||
|
||||
from core.apps.wherehouse.models.inventory import Inventory
|
||||
|
||||
|
||||
class WhereHouseInventoryListSerializer(serializers.ModelSerializer):
|
||||
class Meta:
|
||||
model = Inventory
|
||||
fields = [
|
||||
'id', 'quantity', 'product'
|
||||
]
|
||||
Reference in New Issue
Block a user