model

package
v0.0.0-...-a1d2d7e Latest Latest
Warning

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

Go to latest
Published: May 18, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Patient

type Patient struct {
	ID     primitive.ObjectID `json:"_id,omitempty" bson:"_id,omitempty"`
	FName  string             `json:"fname,omitempty" bson:"fname,omitempty"`
	LName  string             `json:"lname,omitempty" bson:"lname,omitempty"`
	Email  string             `json:"email,omitempty" bson:"email,omitempty"`
	Cpf    int                `json:"cpf,omitempty" bson:"cpf,omitempty"`
	Birth  int                `json:"birth,omitempty" bson:"birth,omitempty"`
	Phone  int                `json:"phone,omitempty" bson:"phone,omitempty"`
	Mobile int                `json:"mobile,omitempty" bson:"mobile,omitempty"`
}

Patient basic structure using ObjectID from Mongo as ID

Jump to

Keyboard shortcuts

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