diff --git a/main_dc/yalarba/api_yal/internal/models/feedback.go b/main_dc/yalarba/api_yal/internal/models/feedback.go index cb8f80e..05649b8 100644 --- a/main_dc/yalarba/api_yal/internal/models/feedback.go +++ b/main_dc/yalarba/api_yal/internal/models/feedback.go @@ -14,6 +14,12 @@ type Feedback struct { ObjectID uint `gorm:"not null;index" json:"object_id"` Object Object `gorm:"foreignKey:ObjectID;references:ID" json:"object,omitempty"` + // enterprener / tourist + Platform PlatformType `json:"platform"` + + // 1 - 5 + Score int `json:"score"` + // Основная информация Text string `json:"text"` }