model

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Business added in v1.0.3

type Business struct {
	Businessupdate *Businessupdatedata `json:"businessupdate"`
	Socialupdate   *Socialupdatedata   `json:"socialupdate"`
}

type Businessdata added in v1.0.3

type Businessdata struct {
	Status  bool   `json:"status"`
	Code    int    `json:"code"`
	Message string `json:"message"`
	Updated int    `json:"updated"`
}

type Businessupdatedata added in v1.0.3

type Businessupdatedata struct {
	Tenantid    int     `json:"tenantid"`
	Brandname   *string `json:"brandname"`
	About       *string `json:"about"`
	Cod         *int    `json:"cod"`
	Digital     *int    `json:"digital"`
	Tenantaccid *int    `json:"tenantaccid"`
}

type Category

type Category struct {
	CategoryID int    `json:"CategoryId"`
	Name       string `json:"Name"`
	Type       int    `json:"Type"`
	SortOrder  int    `json:"SortOrder"`
	Status     string `json:"Status"`
}

type Data

type Data struct {
	Tenantinfo          *TenantDetails `json:"tenantinfo"`
	Tenantlocation      *TenantAddress `json:"tenantlocation"`
	Subscriptiondetails *Subscription  `json:"subscriptiondetails"`
}

type Getalllocations added in v1.0.3

type Getalllocations struct {
	Status    bool              `json:"status"`
	Code      int               `json:"code"`
	Message   string            `json:"message"`
	Locations []*Locationgetall `json:"locations"`
}

type Location added in v1.0.3

type Location struct {
	TenantID     int    `json:"TenantId"`
	LocationName string `json:"LocationName"`
	Email        string `json:"Email"`
	Contact      string `json:"Contact"`
	Address      string `json:"Address"`
	Suburb       string `json:"Suburb"`
	State        string `json:"State"`
	Zip          string `json:"Zip"`
	Countrycode  string `json:"Countrycode"`
	Latitude     string `json:"Latitude"`
	Longitude    string `json:"Longitude"`
	Openingtime  string `json:"Openingtime"`
	Closingtime  string `json:"Closingtime"`
}

type LocationInfo added in v1.0.3

type LocationInfo struct {
	Locationid   int    `json:"Locationid"`
	LocationName string `json:"LocationName"`
	Status       string `json:"status"`
	Createdby    int    `json:"createdby"`
}

type Locationdata added in v1.0.3

type Locationdata struct {
	Status       bool          `json:"status"`
	Code         int           `json:"code"`
	Message      string        `json:"message"`
	Locationinfo *LocationInfo `json:"locationinfo"`
}

type Locationgetall added in v1.0.3

type Locationgetall struct {
	Locationid   int     `json:"locationid"`
	LocationName string  `json:"locationName"`
	Tenantid     int     `json:"tenantid"`
	Email        *string `json:"email"`
	Contact      *string `json:"contact"`
	Address      string  `json:"address"`
	Suburb       string  `json:"suburb"`
	State        string  `json:"state"`
	Postcode     string  `json:"postcode"`
	Countycode   string  `json:"countycode"`
	Latitude     string  `json:"latitude"`
	Longitude    string  `json:"longitude"`
	Openingtime  string  `json:"openingtime"`
	Closingtime  string  `json:"closingtime"`
	Status       string  `json:"status"`
	Createdby    int     `json:"createdby"`
}

type Module

type Module struct {
	ModuleID   int    `json:"ModuleId"`
	CategoryID int    `json:"CategoryId"`
	Name       string `json:"Name"`
	Content    string `json:"Content"`
	ImageURL   string `json:"ImageUrl"`
	LogoURL    string `json:"LogoUrl"`
}

type Package added in v1.0.3

type Package struct {
	ModuleID       int    `json:"ModuleId"`
	Name           string `json:"Name"`
	PackageID      int    `json:"PackageId"`
	Status         string `json:"Status"`
	PackageAmount  string `json:"PackageAmount"`
	PaymentMode    string `json:"PaymentMode"`
	PackageContent string `json:"PackageContent"`
	PackageIcon    string `json:"PackageIcon"`
}

type Socialupdatedata added in v1.0.3

type Socialupdatedata struct {
	Socialprofile *string `json:"socialprofile"`
	Sociallink    *string `json:"sociallink"`
	Socialicon    *string `json:"socialicon"`
}

type Sparkle

type Sparkle struct {
	Category    []*Category    `json:"category"`
	Subcategory []*SubCategory `json:"subcategory"`
	Package     []*Package     `json:"package"`
}

type SubCategory

type SubCategory struct {
	CategoryID    int    `json:"CategoryId"`
	SubCategoryID int    `json:"SubCategoryId"`
	Name          string `json:"Name"`
	Type          int    `json:"Type"`
	SortOrder     int    `json:"SortOrder"`
	Status        string `json:"Status"`
	Icon          string `json:"Icon"`
}

type SubscribedData added in v1.0.3

type SubscribedData struct {
	Status  bool        `json:"status"`
	Code    int         `json:"code"`
	Message string      `json:"message"`
	Info    *TenantData `json:"info"`
}

type Subscription added in v1.0.3

type Subscription struct {
	TransactionDate string `json:"TransactionDate"`
	PackageID       int    `json:"PackageId"`
	ModuleID        int    `json:"ModuleId"`
	CurrencyID      int    `json:"CurrencyId"`
	CurrencyCode    string `json:"CurrencyCode"`
	Price           string `json:"Price"`
	TaxID           int    `json:"TaxId"`
	Quantity        int    `json:"Quantity"`
	TaxAmount       string `json:"TaxAmount"`
	TotalAmount     string `json:"TotalAmount"`
	PaymentStatus   int    `json:"PaymentStatus"`
	PaymentID       *int   `json:"PaymentId"`
}

type TenantAddress added in v1.0.3

type TenantAddress struct {
	Address     string `json:"Address"`
	Suburb      string `json:"Suburb"`
	State       string `json:"State"`
	Zip         string `json:"Zip"`
	Countrycode string `json:"Countrycode"`
	Latitude    string `json:"Latitude"`
	Longitude   string `json:"Longitude"`
	TimeZone    string `json:"TimeZone"`
	Opentime    string `json:"Opentime"`
	Closetime   string `json:"Closetime"`
}

type TenantData added in v1.0.3

type TenantData struct {
	TenantID   int    `json:"TenantId"`
	TenantName string `json:"TenantName"`
	ModuleID   int    `json:"ModuleId"`
	ModuleName string `json:"ModuleName"`
}

type TenantDetails added in v1.0.3

type TenantDetails struct {
	Name          string `json:"Name"`
	Regno         string `json:"Regno"`
	Email         string `json:"Email"`
	Mobile        string `json:"Mobile"`
	CategoryID    int    `json:"CategoryId"`
	SubCategoryID int    `json:"SubCategoryId"`
	Type          int    `json:"Type"`
}

type Tenantupdatedata added in v1.0.3

type Tenantupdatedata struct {
	Status  bool   `json:"status"`
	Code    int    `json:"code"`
	Message string `json:"message"`
	Updated int    `json:"updated"`
}

type Tenantuser added in v1.0.3

type Tenantuser struct {
	TenantID   int    `json:"TenantId"`
	Firstname  string `json:"firstname"`
	Lastname   string `json:"lastname"`
	Password   string `json:"password"`
	Mobile     string `json:"mobile"`
	Email      string `json:"email"`
	Locationid int    `json:"locationid"`
	Roleid     int    `json:"roleid"`
}

type Tenantuserdata added in v1.0.3

type Tenantuserdata struct {
	Status     bool   `json:"status"`
	Code       int    `json:"code"`
	Message    string `json:"message"`
	Tenantuser *User  `json:"tenantuser"`
}

type Updatetenant added in v1.0.3

type Updatetenant struct {
	Userid     int    `json:"userid"`
	Tenantid   int    `json:"tenantid"`
	Firstname  string `json:"firstname"`
	Lastname   string `json:"lastname"`
	Mobile     string `json:"mobile"`
	Email      string `json:"email"`
	Locationid int    `json:"locationid"`
}

type User added in v1.0.3

type User struct {
	Userid int `json:"userid"`
}

type Userfromtenant added in v1.0.3

type Userfromtenant struct {
	UserID       int    `json:"userId"`
	Locationid   int    `json:"locationid"`
	LocationName string `json:"locationName"`
	Tenantid     int    `json:"tenantid"`
	Firstname    string `json:"firstname"`
	Lastname     string `json:"lastname"`
	Mobile       string `json:"mobile"`
	Email        string `json:"email"`
	Created      string `json:"created"`
	Status       string `json:"status"`
}

type Usersdata added in v1.0.3

type Usersdata struct {
	Status  bool              `json:"status"`
	Code    int               `json:"code"`
	Message string            `json:"message"`
	Users   []*Userfromtenant `json:"users"`
}

Jump to

Keyboard shortcuts

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