dto

package
v0.0.0-...-b4a6059 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 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 Notification

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

Jump to

Keyboard shortcuts

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