Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HashPassword ¶ added in v1.0.3
Types ¶
type AuthUser ¶ added in v1.0.3
func (*AuthUser) UpdateAuthUser ¶ added in v1.0.3
type BusinessUpdate ¶ added in v1.0.3
type BusinessUpdate struct {
TenantID int `json:"tenantid"`
Brandname string `json:"brandname"`
TenantaccId int `json:"tenantaccid"`
About string `json:"about"`
Paymode1 int `json:"paymode1"`
Paymode2 int `json:"paymode2"`
SociaProfile string `json:"socialprofile"`
SocialLink string `json:"sociallink"`
SocialIcon string `json:"socialicon"`
}
func (*BusinessUpdate) InsertTenantSocial ¶ added in v1.0.3
func (info *BusinessUpdate) InsertTenantSocial() int64
func (*BusinessUpdate) UpdateTenantBusiness ¶ added in v1.0.3
func (user *BusinessUpdate) UpdateTenantBusiness() bool
type Category ¶
type Category struct {
CategoryID int `json:"categoryId"`
Name string `json:"name"`
Typeid int `json:"typeId"`
SortOrder int `json:"sortOrder"`
Status string `json:"status"`
}
func GetAllCategory ¶ added in v1.0.3
func GetAllCategory() []Category
type Location ¶ added in v1.0.3
type Location struct {
LocationId int `json:"locationid"`
TenantID int `json:"tenantid"`
LocationName string `json:"locationname"`
Email string `json:"email"`
Mobile string `json:"mobile"`
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"`
Createdby int `json:"createdby"`
Status string `json:"status"`
}
func GetAllTenantUsersLocation ¶ added in v1.0.3
func (*Location) CreateLocation ¶ added in v1.0.3
type Packages ¶
type Packages struct {
ModuleID int `json:"moduleId"`
PackageID int `json:"packageId"`
Name string `json:"name"`
Status string `json:"status"`
PackageAmount string `json:"packageamount"`
PaymentMode string `json:"paymentmode"`
PackageContent string `json:"packagecontent"`
PackageIcon string `json:"packageicon"`
}
func GetAllPackages ¶ added in v1.0.3
func GetAllPackages() []Packages
type SubCategory ¶
type SubCategory struct {
CategoryID int `json:"categoryId"`
SubCategoryID int `json:"subcategoryId"`
Name string `json:"name"`
Typeid int `json:"typeId"`
SortOrder int `json:"sortOrder"`
Status string `json:"status"`
Icon string `json:"icon"`
}
func GetAllSubCategory ¶ added in v1.0.3
func GetAllSubCategory() []SubCategory
type SubscribedData ¶ added in v1.0.3
type SubscribedData struct {
TenantID int `json:"tenantId"`
TenantName string `json:"tenantname"`
ModuleName string `json:"modulename"`
ModuleID int `json:"moduleId"`
}
func (*SubscribedData) GetSubscribedData ¶ added in v1.0.3
func (info *SubscribedData) GetSubscribedData(tenantid int64) (*SubscribedData, error)
type SubscriptionData ¶ added in v1.0.3
type SubscriptionData struct {
Info Tenantinfo `json:"info"`
Address TenantLocation `json:"address"`
}
func (*SubscriptionData) CreateTenant ¶ added in v1.0.3
func (info *SubscriptionData) CreateTenant(userid int) (int64, error)
func (*SubscriptionData) InsertTenantLocation ¶ added in v1.0.3
func (info *SubscriptionData) InsertTenantLocation(tenantid int64, userid int) int64
type TenantLocation ¶ added in v1.0.3
type TenantLocation 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"`
CurrencyCode string `json:"currencycode"`
OpenTime string `json:"opentime"`
CloseTime string `json:"closetime"`
}
type TenantSubscription ¶ added in v1.0.3
type TenantSubscription struct {
Date string `json:"date"`
PackageId int `json:"packageId"`
ModuleId int `json:"moduleId"`
CurrencyId int `json:"currencyId"`
CurrencyCode string `json:"currencycode"`
Price string `json:"price"`
TaxId int `json:"taxId"`
TaxAmount string `json:"taxamount"`
TotalAmount string `json:"totalamount"`
PaymentStatus int `json:"paymentstatus"`
PaymentId int `json:"paymentId"`
Quantity int `json:"quantity"`
}
func (*TenantSubscription) InsertSubscription ¶ added in v1.0.3
func (info *TenantSubscription) InsertSubscription(tenantid int64) int64
type TenantUser ¶ added in v1.0.3
type TenantUser struct {
TenantID int `json:"tenantid"`
Userid int `json:"userid"`
FirstName string `json:"firstname"`
LastName string `json:"lastname"`
Password string `json:"password"`
Email string `json:"email"`
Mobile string `json:"mobile"`
Locationid int `json:"locationid"`
Locationname string `json:"locationname"`
RoleId int `json:""roleid`
Referenceid int `json:"referenceid"`
Status string `json:"status"`
Created string `json:created`
}
func GetAllTenantUsers ¶ added in v1.0.3
func GetAllTenantUsers(id int) []TenantUser
func (*TenantUser) CreateTenantUser ¶ added in v1.0.3
func (user *TenantUser) CreateTenantUser() int64
func (*TenantUser) InsertTenantUserintoProfile ¶ added in v1.0.3
func (user *TenantUser) InsertTenantUserintoProfile(id int64) int64
func (*TenantUser) UpdateTenantUser ¶ added in v1.0.3
func (user *TenantUser) UpdateTenantUser() bool
Click to show internal directories.
Click to hide internal directories.