models

package
v0.0.0-...-58afb8c Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionAccessKeyModel

type ActionAccessKeyModel struct {
	AccessKey string `json:"accessKey"`
}

type DispatchProfilesModel

type DispatchProfilesModel struct {
	UserIds   []uuid.UUID `json:"userIds" bson:"userIds"`
	ReqUserId uuid.UUID   `json:"reqUserId" bson:"reqUserId"`
}

type GetProfilesModel

type GetProfilesModel struct {
	UserIds []uuid.UUID `json:"userIds" bson:"userIds"`
}

type Location

type Location struct {
	GeoJSONType string    `json:"type" bson:"type"`
	Coordinates []float64 `json:"coordinates" bson:"coordinates"`
}

type MyProfileModel

type MyProfileModel struct {
	ObjectId       uuid.UUID                     `json:"objectId"`
	FullName       string                        `json:"fullName"`
	SocialName     string                        `json:"socialName"`
	Avatar         string                        `json:"avatar"`
	Banner         string                        `json:"banner"`
	TagLine        string                        `json:"tagLine"`
	CreatedDate    int64                         `json:"created_date"`
	LastUpdated    int64                         `json:"last_updated"`
	LastSeen       int64                         `json:"lastSeen"`
	Email          string                        `json:"email"`
	Birthday       int64                         `json:"birthday"`
	WebUrl         string                        `json:"webUrl"`
	CompanyName    string                        `json:"companyName"`
	Country        string                        `json:"country"`
	Address        string                        `json:"address"`
	Phone          string                        `json:"phone"`
	VoteCount      int64                         `json:"voteCount"`
	ShareCount     int64                         `json:"shareCount"`
	FollowCount    int64                         `json:"followCount"`
	FollowerCount  int64                         `json:"followerCount"`
	PostCount      int64                         `json:"postCount"`
	FacebookId     string                        `json:"facebookId"`
	InstagramId    string                        `json:"instagramId"`
	TwitterId      string                        `json:"twitterId"`
	LinkedInId     string                        `json:"linkedInId"`
	AccessUserList []string                      `json:"accessUserList"`
	Permission     constants.UserPermissionConst `json:"permission"`
}

type ProfileGeneralUpdateModel

type ProfileGeneralUpdateModel struct {
	Address     string                        `json:"address" bson:"address"`
	Avatar      string                        `json:"avatar" bson:"avatar"`
	Banner      string                        `json:"banner" bson:"banner"`
	Country     string                        `json:"country" bson:"country"`
	FullName    string                        `json:"fullName" bson:"fullName"`
	SocialName  string                        `json:"socialName" bson:"socialName"`
	Permission  constants.UserPermissionConst `json:"permission" bson:"permission"`
	Phone       string                        `json:"phone" bson:"phone"`
	TagLine     string                        `json:"tagLine" bson:"tagLine"`
	LastUpdated int64                         `json:"last_updated" bson:"last_updated"`
}

type ProfileUpdateModel

type ProfileUpdateModel struct {
	FullName       string                        `json:"fullName" bson:"fullName"`
	Avatar         string                        `json:"avatar" bson:"avatar"`
	Banner         string                        `json:"banner" bson:"banner"`
	TagLine        string                        `json:"tagLine" bson:"tagLine"`
	Birthday       int64                         `json:"birthday" bson:"birthday"`
	WebUrl         string                        `json:"webUrl" bson:"webUrl"`
	CompanyName    string                        `json:"companyName" bson:"companyName"`
	FacebookId     string                        `json:"facebookId" bson:"facebookId"`
	InstagramId    string                        `json:"instagramId" bson:"instagramId"`
	TwitterId      string                        `json:"twitterId" bson:"twitterId"`
	LinkedInId     string                        `json:"linkedInId"`
	AccessUserList []string                      `json:"accessUserList" bson:"accessUserList"`
	Permission     constants.UserPermissionConst `json:"permission" bson:"permission"`
	LastUpdated    int64                         `json:"last_updated" bson:"last_updated"`
}

type SocialInfoUpdateModel

type SocialInfoUpdateModel struct {
	FacebookId  string `json:"facebookId" bson:"facebookId"`
	InstagramId string `json:"instagramId" bson:"instagramId"`
	TwitterId   string `json:"twitterId" bson:"twitterId"`
	LinkedInId  string `json:"linkedInId" bson:"linkedInId"`
	LastUpdated int64  `json:"last_updated" bson:"last_updated"`
}

type UpdateLastSeenModel

type UpdateLastSeenModel struct {
	UserId uuid.UUID `json:"userId" bson:"userId"`
}

type UserProfileModel

type UserProfileModel struct {
	ObjectId       uuid.UUID                     `json:"objectId" bson:"objectId"`
	FullName       string                        `json:"fullName" bson:"fullName"`
	SocialName     string                        `json:"socialName" bson:"socialName"`
	Avatar         string                        `json:"avatar" bson:"avatar"`
	Banner         string                        `json:"banner" bson:"banner"`
	TagLine        string                        `json:"tagLine" bson:"tagLine"`
	CreatedDate    int64                         `json:"created_date" bson:"created_date"`
	LastUpdated    int64                         `json:"last_updated" bson:"last_updated"`
	LastSeen       int64                         `json:"lastSeen" bson:"lastSeen"`
	Email          string                        `json:"email" bson:"email"`
	Birthday       int64                         `json:"birthday" bson:"birthday"`
	WebUrl         string                        `json:"webUrl" bson:"webUrl"`
	CompanyName    string                        `json:"companyName" bson:"companyName"`
	Country        string                        `json:"country" bson:"country"`
	Address        string                        `json:"address" bson:"address"`
	Phone          string                        `json:"phone" bson:"phone"`
	VoteCount      int64                         `json:"voteCount" bson:"voteCount"`
	ShareCount     int64                         `json:"shareCount" bson:"shareCount"`
	FollowCount    int64                         `json:"followCount" bson:"followCount"`
	FollowerCount  int64                         `json:"followerCount" bson:"followerCount"`
	PostCount      int64                         `json:"postCount" bson:"postCount"`
	FacebookId     string                        `json:"facebookId" bson:"facebookId"`
	InstagramId    string                        `json:"instagramId" bson:"instagramId"`
	TwitterId      string                        `json:"twitterId" bson:"twitterId"`
	LinkedInId     string                        `json:"linkedInId"`
	AccessUserList []string                      `json:"accessUserList" bson:"accessUserList"`
	Permission     constants.UserPermissionConst `json:"permission" bson:"permission"`
}

Jump to

Keyboard shortcuts

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