DataModels

package
v0.0.0-...-52f522c Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2019 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 API_MealPlan

type API_MealPlan struct {
	Id         primitive.ObjectID `bson:"_id, omitempty"`
	Name       string             `json:"Name"`
	WeeklyCost int                `json:"WeeklyCost"`
	MarketId   int                `json:"MarketId"`
}

type CreatedRecordResult

type CreatedRecordResult struct {
	Id primitive.ObjectID
}

type DB_Market

type DB_Market struct {
	Id   primitive.ObjectID `bson:"_id, omitempty"`
	Name string
}

type DB_Market_x_Semester

type DB_Market_x_Semester struct {
	Id         primitive.ObjectID `bson:"_id, omitempty"`
	MarketId   primitive.ObjectID `bson:"MarketId, omitempty"`
	SemesterId primitive.ObjectID `bson:"SemesterId, omitempty"`
}

type DB_MealPlan

type DB_MealPlan struct {
	Id         primitive.ObjectID `bson:"_id, omitempty"`
	Name       string             `json:"Name"`
	WeeklyCost float32            `json:"WeeklyCost"`
}

type DB_MealPlan_x_Market

type DB_MealPlan_x_Market struct {
	Id         primitive.ObjectID `bson:"_id, omitempty"`
	MealPlanId primitive.ObjectID `bson:"MealPlanId, omitempty"`
	MarketId   primitive.ObjectID `bson:"MarketId, omitempty"`
}

type DB_Semester

type DB_Semester struct {
	Id        primitive.ObjectID `bson:"_id, omitempty"`
	StartDate time.Time          `json:"StartDate"`
	EndDate   time.Time          `json:"EndDate"`
	Name      string             `json:"Name"`
}

type DB_User

type DB_User struct {
	Id         primitive.ObjectID `bson:"_id, omitempty"`
	MealPlanId primitive.ObjectID `bson:"MealPlanId, omitempty"`
	MarketId   primitive.ObjectID `bson:"MarketId, omitempty"`
	Name       string
}

type NumRecordsAffected

type NumRecordsAffected struct {
	NumRecordsAffected int64
	TableName          string
	Action             string
}

Jump to

Keyboard shortcuts

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