added data models of diyhrtmarketplace

This commit is contained in:
Hazel Noack 2025-07-03 11:23:36 +02:00
parent 7a3c3dd2c0
commit 5461bded96
2 changed files with 41 additions and 0 deletions

0
backend/diyhrt_fetch.go Normal file
View File

41
backend/diyhrt_models.go Normal file
View File

@ -0,0 +1,41 @@
package backend
type ActiveIngredient struct {
Name string
Ester string
DisplayName string
}
type Product struct {
Id int
Name string
Image string
ActiveIngredient ActiveIngredient
}
type Store struct {
Id int
Name string
Url string
Description string
ShipsFromCountry string
ShipsToCountry string
ServiceStatus string
ServiceStatusNotes string
PaymentMethods string
CategoryName string
}
type Listing struct {
Id int
ProductName string
StoreName string
Price string
PriceCurrency string
State string
InStock bool
Url string
PricingPerUnit string
Product Product
Store Store
}