types

package
v0.0.0-...-d705cfe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Booking

type Booking struct {
	DocId         string    `firestore:"doc-id"`
	User          string    `firestore:"user"`
	Vehicle       string    `firestore:"vehicle"`
	VehicleType   string    `firestore:"vehicle-type"`
	VehicleStatus string    `firestore:"vehicle-status"`
	ParkingLot    string    `firestore:"parking-lot"`
	From          time.Time `firestore:"from"`
	To            time.Time `firestore:"to"`
	Status        string    `firestore:"status"`
	StatusTime    time.Time `firestore:"status-time"`
}

type MasterData

type MasterData struct {
	Users      []User    `firestore:"users"`
	Vehicles   []Vehicle `firestore:"vehicles"`
	Bookings   []Booking `firestore:"bookings"`
	From       time.Time `firestore:"from"`
	To         time.Time `firestore:"to"`
	Status     string    `firestore:"status"`
	StatusTime time.Time `firestore:"status-time"`
}

type User

type User struct {
	DocId       string `firestore:"doc-id"`
	Name        string `firestore:"name"`
	Type        string `firestore:"type"`
	Status      string `firestore:"status"`
	Description string `firestore:"description"`
}

type Vehicle

type Vehicle struct {
	DocId       string         `firestore:"doc-id"`
	Name        string         `firestore:"name"`
	Type        string         `firestore:"type"`
	Status      string         `firestore:"status"`
	ParkingLot  string         `firestore:"parking-lot"`
	GeoPoint    *latlng.LatLng `firestore:"geopoint"`
	Description string         `firestore:"description"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL