models

package
v0.0.0-...-74f11ef Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2020 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 DataTravel

type DataTravel struct {
	ID                      primitive.ObjectID `bson:"_id,omitemptly"`
	IdentificadorDoProcesso int                `bson:"IdentificadorDoProcesso"`
	Situacao                string             `bson:"Situacao,omitemptly"`
	ViagemUrgente           string             `bson:"ViagemUrgente,omitemptly"`
	NomeDoOrgaoSuperior     string             `bson:"NomeDoOrgao Superior,omitemptly" `
	Nome                    string             `bson:"Nome,omitemptly" `
	Cargo                   string             `bson:"Cargo,omitemptly"`
	DataDeInicio            time.Time          `bson:"Periodo - Data de inicio,omitemptly" `
	DataDeFim               time.Time          `bson:"Periodo - Data de fim,omitemptly" `
	Destinos                string             `bson:"Destinos,omitemptly"`
	ValorDiarias            float64            `bson:"Valor diarias,omitemptly" `
	ValorPassagens          float64            `bson:"Valor passagens,omitemptly"`
	ValorOutrosGastos       float64            `bson:"Valor outros gastos,omitemptly"`
}

DataTravel modeling database

type ReservationsStatusTotal

type ReservationsStatusTotal struct {
	ID                    string  `bson:"_id"`
	ReservationsTotalCost float64 `bson:"ReservationsTotalCost"`
}

ReservationsStatusTotal represents the sum of total cost of reservations

Jump to

Keyboard shortcuts

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