model

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 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 GetUser

type GetUser struct {
	UserID       int    `json:"UserId"`
	Firstname    string `json:"firstname"`
	Lastname     string `json:"lastname"`
	Mobile       string `json:"mobile"`
	Email        string `json:"email"`
	Profileimage string `json:"Profileimage"`
	Created      string `json:"created"`
	Status       string `json:"status"`
}

type Location added in v1.0.9

type Location struct {
	Locationid   int    `json:"Locationid"`
	Tenantid     int    `json:"Tenantid"`
	Locationname string `json:"Locationname"`
	Email        string `json:"Email"`
	Contactno    string `json:"Contactno"`
	Address      string `json:"Address"`
	City         string `json:"City"`
	State        string `json:"State"`
	Postcode     string `json:"Postcode"`
	Latitude     string `json:"Latitude"`
	Longitude    string `json:"Longitude"`
	Opentime     string `json:"Opentime"`
	Closetime    string `json:"Closetime"`
}

type Login

type Login struct {
	Username    string `json:"username"`
	Password    string `json:"password"`
	Tenanttoken string `json:"tenanttoken"`
}

type LoginData

type LoginData struct {
	Status       bool          `json:"status"`
	Code         int           `json:"code"`
	Message      string        `json:"message"`
	UserInfo     *UserData1    `json:"userInfo"`
	Tenantinfo   []*Tenantdata `json:"tenantinfo"`
	Locationinfo []*Location   `json:"locationinfo"`
}

type NewUser

type NewUser struct {
	Firstname   string `json:"firstname"`
	Lastname    string `json:"lastname"`
	Email       string `json:"email"`
	Password    string `json:"password"`
	Mobile      string `json:"Mobile"`
	Roleid      int    `json:"roleid"`
	Referenceid int    `json:"referenceid"`
	Locationid  int    `json:"locationid"`
	Configid    int    `json:"configid"`
}

type RefreshTokenInput

type RefreshTokenInput struct {
	Token string `json:"token"`
}

type Reset

type Reset struct {
	Password string `json:"password"`
}

type Tenantdata added in v1.0.8

type Tenantdata struct {
	Subscriptionid       int    `json:"Subscriptionid"`
	Packageid            int    `json:"Packageid"`
	Packagename          string `json:"Packagename"`
	Moduleid             int    `json:"Moduleid"`
	Modulename           string `json:"Modulename"`
	Validitydate         string `json:"Validitydate"`
	Validity             bool   `json:"Validity"`
	Categoryid           int    `json:"Categoryid"`
	Subcategoryid        int    `json:"Subcategoryid"`
	Iconurl              string `json:"Iconurl"`
	Logourl              string `json:"Logourl"`
	Paymentstatus        bool   `json:"Paymentstatus"`
	Subscriptionaccid    string `json:"Subscriptionaccid"`
	Subscriptionmethodid string `json:"Subscriptionmethodid"`
}

type Updateddata added in v1.0.6

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

type User

type User struct {
	ID   int    `json:"id"`
	Name string `json:"name"`
}

type UserCreatedData

type UserCreatedData struct {
	Status   bool      `json:"status"`
	Code     int       `json:"code"`
	Message  string    `json:"message"`
	UserInfo *UserData `json:"userInfo"`
}

type UserData

type UserData struct {
	UserID         int     `json:"UserId"`
	Firstname      string  `json:"Firstname"`
	Lastname       string  `json:"Lastname"`
	Email          string  `json:"Email"`
	Mobile         string  `json:"Mobile"`
	Profileimage   string  `json:"Profileimage"`
	Roleid         *int    `json:"Roleid"`
	Configid       *int    `json:"Configid"`
	Token          string  `json:"Token"`
	Tenantid       *int    `json:"Tenantid"`
	Tenantname     *string `json:"Tenantname"`
	Tenantimageurl *string `json:"Tenantimageurl"`
	Locationid     *int    `json:"Locationid"`
	Opentime       *string `json:"Opentime"`
	Closetime      *string `json:"Closetime"`
	CreatedDate    string  `json:"CreatedDate"`
	Status         string  `json:"Status"`
}

type UserData1 added in v1.0.9

type UserData1 struct {
	UserID         int     `json:"UserId"`
	Firstname      string  `json:"Firstname"`
	Lastname       string  `json:"Lastname"`
	Email          string  `json:"Email"`
	Mobile         string  `json:"Mobile"`
	Profileimage   string  `json:"Profileimage"`
	Roleid         *int    `json:"Roleid"`
	Configid       *int    `json:"Configid"`
	Token          string  `json:"Token"`
	Tenantid       *int    `json:"Tenantid"`
	Tenantname     *string `json:"Tenantname"`
	Tenantimageurl *string `json:"Tenantimageurl"`
	CreatedDate    string  `json:"CreatedDate"`
	Status         string  `json:"Status"`
}

type Userupdateinput added in v1.0.6

type Userupdateinput struct {
	Userid       int    `json:"userid"`
	Firstname    string `json:"firstname"`
	Lastname     string `json:"lastname"`
	Email        string `json:"email"`
	Contactno    string `json:"contactno"`
	Profileimage string `json:"profileimage"`
}

Jump to

Keyboard shortcuts

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