dto

package
v0.0.0-...-3c40ba8 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Comment

type Comment struct {
	ObjectId         uuid.UUID `json:"objectId" bson:"objectId"`
	Score            int64     `json:"score" bson:"score"`
	OwnerUserId      uuid.UUID `json:"ownerUserId" bson:"ownerUserId"`
	OwnerDisplayName string    `json:"ownerDisplayName" bson:"ownerDisplayName"`
	OwnerAvatar      string    `json:"ownerAvatar" bson:"ownerAvatar"`
	PostId           uuid.UUID `json:"postId" bson:"postId"`
	Text             string    `json:"text" bson:"text"`
	Deleted          bool      `json:"deleted" bson:"deleted"`
	DeletedDate      int64     `json:"deletedDate" bson:"deletedDate"`
	CreatedDate      int64     `json:"created_date" bson:"created_date"`
	LastUpdated      int64     `json:"last_updated" bson:"last_updated"`
}

Jump to

Keyboard shortcuts

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