FloorVisualizer/internal/model/favorite.go
dindang 94895cbc22 Initial commit: FloorVisualizer backend
- Go API server with PostgreSQL + Redis
- AI floor replacement (OpenRouter Gemini)
- Product database (10 brands, 3539 products)
- Recommendation engine, calculator, articles
- Redis async queue + worker pool
- Hot product caching, brand view tracking
- JWT auth, favorites, projects
- Docker deployment ready

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-16 09:47:11 +08:00

19 lines
565 B
Go

package model
import "time"
type Favorite struct {
ID int `json:"id"`
UserID string `json:"user_id"`
SKU string `json:"sku"`
Brand string `json:"brand"`
SeriesName string `json:"series_name"`
StyleName string `json:"style_name"`
MainImageURL string `json:"main_image_url"`
Category string `json:"category"`
Material string `json:"material"`
ColorTone string `json:"color_tone"`
PricePerSqft float64 `json:"price_per_sqft"`
CreatedAt time.Time `json:"created_at"`
}