summaryrefslogtreecommitdiff
path: root/golang/pkg/model/transaction.go
blob: ed98636cedc9a5061c8b559464cf7bef55583e1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package model

import "time"

type Transaction struct {
	PricePerUnit   int       `json:"pricePerUnit"`
	ShipSymbol     string    `json:"shipSymbol"`
	Timestamp      time.Time `json:"timestamp"`
	TotalPrice     int       `json:"totalPrice"`
	TradeSymbol    string    `json:"tradeSymbol"`
	Type           string    `json:"type"`
	Units          int       `json:"units"`
	WaypointSymbol string    `json:"waypointSymbol"`
}