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 Collective

type Collective struct {
	CollectiveId  uuid.UUID `json:"collectiveId" bson:"collectiveId"`
	Name          string    `json:"Name" bson:"Name", validate:"max=50"`
	Avatar        string    `json:"avatar" bson:"avatar", validate:"max=500"`
	Banner        string    `json:"banner" bson:"banner", validate:"max=500"`
	Tagline       string    `json:"tagLine" bson:"tagLine"`
	Title         string    `json:"title" bson:"title"`
	Body          string    `json:"body" bson:"body"`
	CreatedDate   int64     `json:"created_date" bson:"created_date"`
	LastUpdated   int64     `json:"last_updated" bson:"last_updated"`
	VoteCount     int64     `json:"voteCount" bson:"voteCount"`
	ShareCount    int64     `json:"shareCount" bson:"shareCount"`
	FollowerCount int64     `json:"followerCount" bson:"followerCount"`
	PostCount     int64     `json:"postCount" bson:"postCount"`
}

Jump to

Keyboard shortcuts

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