- 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>
17 lines
541 B
Go
17 lines
541 B
Go
package model
|
|
|
|
import "time"
|
|
|
|
type Project struct {
|
|
ID string `json:"id"`
|
|
UserID string `json:"user_id"`
|
|
Name string `json:"name"`
|
|
OriginalImageURL string `json:"original_image_url"`
|
|
GeneratedImageURL string `json:"generated_image_url"`
|
|
FloorStyle string `json:"floor_style"`
|
|
Pattern string `json:"pattern"`
|
|
RoomType string `json:"room_type"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
}
|