mirror of
https://github.com/3ybactuk/marketplace-go-service-project.git
synced 2025-10-30 14:03:45 +03:00
[hw-1] implement cart service
This commit is contained in:
9
cart/internal/domain/model/cart.go
Normal file
9
cart/internal/domain/model/cart.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package model
|
||||
|
||||
import "route256/cart/internal/domain/entity"
|
||||
|
||||
type Cart struct {
|
||||
UserID entity.UID
|
||||
Items []*Item
|
||||
TotalPrice uint32
|
||||
}
|
||||
Reference in New Issue
Block a user