From a776321fddf49575bda17eae040edff608e83fa2 Mon Sep 17 00:00:00 2001 From: rohin-sudo Date: Fri, 7 Nov 2025 14:47:58 -0600 Subject: [PATCH] feat: Add DiscountProgram schema for discount scraper --- api/schema/objects.go | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/api/schema/objects.go b/api/schema/objects.go index d0b8cba..854f61e 100644 --- a/api/schema/objects.go +++ b/api/schema/objects.go @@ -125,6 +125,17 @@ type Organization struct { Picture_data string `bson:"picture_data" json:"picture_data"` } +type DiscountProgram struct { + Id primitive.ObjectID `bson:"_id" json:"_id"` + Category string `bson:"category" json:"category"` + Business string `bson:"business" json:"business"` + Address string `bson:"address" json:"address"` + Phone string `bson:"phone" json:"phone"` + Email string `bson:"email" json:"email"` + Website string `bson:"website" json:"website"` + Discount string `bson:"discount" json:"discount"` +} + type Event struct { Id primitive.ObjectID `bson:"_id" json:"_id"` Summary string `bson:"summary" json:"summary"`