Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Customer ¶
type Customer struct { ID bson.ObjectId `bson:"Id" json:"Id"` Name string `bson:"name" json:"name"` Description string `bson:"description" json:"description"` Photo int64 `bson:"photo" json:"photo"` }
Customer - Struct a customer for a residency
type Note ¶
type Note struct { ID bson.ObjectId `bson:"Id" json:"Id"` ResidencyID string `bson:"residencyId" json:"residencyId"` Notes string `bson:"notes" json:"notes"` }
Note - Struct notes about a residency
type Residency ¶
type Residency struct { ID bson.ObjectId `bson:"_Id" json:"Id"` Name string `bson:"name" json:"name"` SalesKey string `bson:"salesKey" json:"salesKey"` Description string `bson:"description" json:"description"` Prediction time.Time `bson:"prediction" json:"prediction"` CustomerID string `bson:"customerId" json:"customerId"` }
Residency - Struct a resdency that have a date predction to start
type StaffMember ¶
type StaffMember struct { ID bson.ObjectId `bson:"_Id" json:"Id"` Name string `bson:"name" json:"name"` Email string `bson:"email" json:"email"` Photo int64 `bson:"photo" json:"photo"` Core bool `bson:"isCore" json:"isCore"` ResidencyID string `bson:"residencyId" json:"residencyId"` }
Team - Struct to refers the team that can work in a residency
Click to show internal directories.
Click to hide internal directories.