added data models of diyhrtmarketplace
This commit is contained in:
parent
7a3c3dd2c0
commit
5461bded96
0
backend/diyhrt_fetch.go
Normal file
0
backend/diyhrt_fetch.go
Normal file
41
backend/diyhrt_models.go
Normal file
41
backend/diyhrt_models.go
Normal 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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user