feat: frontend
This commit is contained in:
11
api/dto/item_history.go
Normal file
11
api/dto/item_history.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package dto
|
||||
|
||||
import "time"
|
||||
|
||||
type ItemHistory struct {
|
||||
ItemId string
|
||||
ItemName string
|
||||
ItemPrice string
|
||||
ValidFrom time.Time
|
||||
ValidTo time.Time
|
||||
}
|
||||
@@ -4,4 +4,5 @@ type ItemPriceResponse struct {
|
||||
ItemId int
|
||||
ItemName string
|
||||
ItemPrice float64
|
||||
InSeason bool
|
||||
}
|
||||
|
||||
6
api/dto/login_redirect.go
Normal file
6
api/dto/login_redirect.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package dto
|
||||
|
||||
type LoginRedirect struct {
|
||||
Status string
|
||||
Location string
|
||||
}
|
||||
Reference in New Issue
Block a user