Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActVisitAssoc ¶
type ActVisitAssoc struct { ID string `json:"id,omitempty" bson:"_id"` ActivityID string `json:"activityID,omitempty" bson:"_activity_id"` VisitID string `json:"visitID,omitempty" bson:"_visit_id"` ActivityName string `json:"activityName,omitempty"` StartTime int64 `json:"startTime"` EndTime int64 `json:"endTime"` Participant string `json:"participant"` Note string `json:"note"` }
ActVisitAssoc hold information of a activity visit associate
type Activity ¶
type Activity struct { ID string `json:"id,omitempty" bson:"_id"` Name string `json:"name,omitempty"` Detail string `json:"detail"` }
Activity hold information of a activity
type CusVisitAssoc ¶
type CusVisitAssoc struct { ID string `json:"id,omitempty" bson:"_id"` CustomerID string `json:"customerID,omitempty" bson:"_customer_id"` VisitID string `json:"visitID,omitempty" bson:"_visit_id"` CustomerName string `json:"customerName,omitempty"` PreApproveVisa bool `json:"preApproveVisa"` CreatedBy string `json:"createdBy"` Note string `json:"note"` }
CusVisitAssoc hold information of a customer visit associate
type Customer ¶
type Customer struct { ID string `json:"id,omitempty" bson:"_id"` Name string `json:"name,omitempty"` Title string `json:"title,omitempty"` Position string `json:"position,omitempty"` Project string `json:"project,omitempty"` Age uint `json:"age"` Company string `json:"company"` Country string `json:"country"` City string `json:"city"` PassportInfo string `json:"passportInfo"` FoodNote string `json:"foodNote"` FamilyNote string `json:"familyNote"` NextVisitNote string `json:"nextVisitNote"` }
Customer hold information of a customer
type Gift ¶
type Gift struct { ID string `json:"id,omitempty" bson:"_id"` Name string `json:"name,omitempty"` Idea string `json:"idea"` Size string `json:"size"` Price float64 `json:"price"` Link string `json:"link"` Description string `json:"description"` }
Gift hold information of a gift
type GiftAssociate ¶
type GiftAssociate struct { ID string `json:"id,omitempty" bson:"_id"` GiftID string `json:"giftID,omitempty" bson:"_gift_id"` CusVisitAssocID string `json:"cusvisitassocID,omitempty" bson:"_cusvisitassoc_id"` GiftName string `json:"giftName,omitempty"` Quantity int `json:"quantity,omitempty"` Note string `json:"note"` }
GiftAssociate hold information of a gift associate
type NotificationData ¶
type User ¶
type User struct { ID string `bson:"_id" json:"id"` Username string `bson:"username" json:"username"` FullName string `bson:"fullname" json:"fullname"` Email string `bson:"email" json:"email"` DeliveryCenter []string `bson:"delivery_center" json:"delivery_center"` Password string `bson:"password" json:"password"` OldPassword string `boson:"old_password"json:"old_password"` RoleName string `bson:"role" json:"role"` Priority int `bson:"priority"json:"priority"` }
type Visit ¶
type Visit struct { ID string `json:"id,omitempty" bson:"_id"` Name string `json:"name,omitempty"` Lab []string `json:"lab,omitempty"` ArrivedTime int64 `json:"arrivedTime,omitempty"` DepartureTime int64 `json:"departureTime,omitempty"` Accommodation string `json:"accommodation"` Pickup string `json:"pickup"` }
Visit hold information of a visit
type VisitsData ¶
type VisitsData struct {
Data []NotificationData
}
Click to show internal directories.
Click to hide internal directories.