feat: add page profile with orders

This commit is contained in:
2026-06-24 12:04:25 +03:00
parent a450f32272
commit 3c24f5b115
5 changed files with 126 additions and 4 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ type Order struct {
TotalPrice float64 `json:"total_price" gorm:"not null"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
Items []OrderItem
Items []OrderItem `json:"items"`
}
type OrderItem struct {