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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateNotificationModel

type CreateNotificationModel 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 GetSettingsModel

type GetSettingsModel struct {
	Type    string      `json:"type"`
	UserIds []uuid.UUID `json:"userIds"`
}

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"`
}

Jump to

Keyboard shortcuts

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