go-types/pkg/database/metadata.go

18 lines
438 B
Go
Raw Normal View History

2024-05-02 15:18:33 +01:00
package database
import "time"
type PisMetadata struct {
Type string `json:"type"`
LastUpdate string `json:"lastUpdate"`
LastVersion string `json:"lastVersion"`
}
type CifMetadata struct {
Type string `json:"type"`
LastSequence int64 `json:"lastSequence"`
LastTimestamp int64 `json:"lastTimestamp"`
LastUpdate time.Time `json:"lastUpdate"`
LastUpdateType string `json:"lastUpdateType"`
}