models

package
v0.0.0-...-1f85fa5 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Address

type Address struct {
	StreetAddress1 string `json:"street_address_1"`
	StreetAddress2 string `json:"street_address_2"`
	City           string `json:"city"`
	State          string `json:"state"`
	Country        string `json:"country"`
	Landmark       string `json:"landmark"`
	ZipCode        int    `json:"zip_code"`
}

type Contact

type Contact struct {
	ContactPerson  string   `json:"contact_person"`
	Email          string   `json:"email"`
	ContactNumbers []string `json:"contact_numbers"`
	ContactEmails  []string `json:"contact_emails"`
	Address        `json:"address"`
	Other          []interface{} `json:"other"`
	Websites       []string      `json:"websites"`
}

type ServiceProvider

type ServiceProvider struct {
	ID            primitive.ObjectID `bson:"_id" json:"-"`
	Contact       Contact            `bson:"contact"        json:"contact"`
	Name          string             `bson:"name"           json:"name"`
	ServiceType   string             `bson:"service_type"   json:"service_type"`
	FeeRange      string             `bson:"fee_range"      json:"fee_range"`
	FeeNegotiable string             `bson:"fee_negotiable" json:"fee_negotiable"`
	Timings       string             `bson:"timings"        json:"timings"`
	Declaration   bool               `bson:"declaration"    json:"declaration"`
	Approved      bool               `bson:"approved"       json:"approved"`
}

Jump to

Keyboard shortcuts

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