✨ Add basic deposit functionality

This commit is contained in:
nikolark committed 2021-11-18 22:58:32 +01:00
1 parent 40b3cb119f
commit 3d93a645ad
9 files changed
+254 -8

No files matched your search

+9 -1
View File
@@ -48,6 +48,14 @@ class User:
@strawberry_django.type(models.Order)
class Order:
id: auto
customer: 'User'
customer: "User"
order_sum: auto
created: auto
@strawberry_django.type(models.Transaction)
class Transaction:
id: auto
user: "User"
amount: auto
created: auto