[hw-3] loms service

This commit is contained in:
Никита Шубин committed 2025-06-20 10:11:59 +00:00
1 parent c8e056bc99
commit b88dfe6db5
73 files changed
+8837 -52

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
package entity
type (
ID int64
Sku int64
)
type Order struct {
OrderID ID
Status string
UserID ID
Items []OrderItem
}
type OrderItem struct {
ID Sku
Count uint32
}
+6
View File
@@ -0,0 +1,6 @@
package entity
type Stock struct {
Item OrderItem
Reserved uint32
}