model

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 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"`
	Created   string `json:"created"`
	Status    string `json:"status"`
}

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 *UserData `json:"userInfo"`
}

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 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"`
	Tenantid    *int    `json:"Tenantid"`
	Locationid  *int    `json:"Locationid"`
	Moduleid    *int    `json:"Moduleid"`
	Packageid   *int    `json:"Packageid"`
	Firstname   string  `json:"Firstname"`
	Lastname    string  `json:"Lastname"`
	Email       string  `json:"Email"`
	Mobile      string  `json:"Mobile"`
	Token       string  `json:"Token"`
	Modulename  *string `json:"Modulename"`
	Tenantname  *string `json:"Tenantname"`
	Opentime    *string `json:"Opentime"`
	Closetime   *string `json:"Closetime"`
	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"`
}

Jump to

Keyboard shortcuts

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