entities

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package entities contains service-wide models.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PDVMeta

type PDVMeta struct {
	// ObjectTypes represents how much certain meta data meta contains.
	ObjectTypes map[schema.Type]uint16 `json:"object_types"`
	Reward      sdk.Dec                `json:"reward"`
}

PDVMeta contains info about PDV.

type Profile

type Profile struct {
	Address   string
	FirstName string
	LastName  string
	Emails    []string
	Bio       string
	Avatar    string
	Gender    string
	Banned    bool
	Birthday  *time.Time
	UpdatedAt *time.Time
	CreatedAt time.Time
}

Profile ...

Jump to

Keyboard shortcuts

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