models

package
v0.0.0-...-702fcad Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateVoteModel

type CreateVoteModel struct {
	ObjectId         uuid.UUID `json:"objectId"`
	OwnerUserId      uuid.UUID `json:"ownerUserId"`
	OwnerDisplayName string    `json:"ownerDisplayName"`
	OwnerAvatar      string    `json:"ownerAvatar"`
	PostId           uuid.UUID `json:"postId"`
	TypeId           int       `json:"type"`
	CreatedDate      int64     `json:"created_date"`
}

type NotificationModel

type NotificationModel struct {
	ObjectId             uuid.UUID `json:"objectId"`
	OwnerUserId          uuid.UUID `json:"ownerUserId"`
	OwnerDisplayName     string    `json:"ownerDisplayName"`
	OwnerAvatar          string    `json:"ownerAvatar"`
	CreatedDate          int64     `json:"created_date"`
	Title                string    `json:"title"`
	Description          string    `json:"description"`
	URL                  string    `json:"url"`
	NotifyRecieverUserId uuid.UUID `json:"notifyRecieverUserId"`
	TargetId             uuid.UUID `json:"targetId"`
	IsSeen               bool      `json:"isSeen"`
	Type                 string    `json:"type"`
	EmailNotification    int16     `json:"emailNotification"`
}

type VoteModel

type VoteModel struct {
	ObjectId         uuid.UUID `json:"objectId"`
	OwnerUserId      uuid.UUID `json:"ownerUserId"`
	OwnerDisplayName string    `json:"ownerDisplayName"`
	OwnerAvatar      string    `json:"ownerAvatar"`
	PostId           uuid.UUID `json:"postId"`
	TypeId           int       `json:"type"`
	CreatedDate      int64     `json:"created_date"`
}

Jump to

Keyboard shortcuts

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