convEntity

package
v0.0.0-...-e7c2cf1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DTO

type DTO struct {
	Id                string     `json:"id,omitempty" db:"id"`
	FromUser          tinyUser   `json:"fromUser" db:"creator"`
	ToUser            tinyUser   `json:"toUser" db:"recipient"`
	LastMessage       string     `json:"lastMessageSent,omitempty" db:"last_message"`
	LastMessageSentAt time.Time  `json:"lastMessageSentAt,omitempty" db:"last_message_sent_at"`
	LastMessageSeenAt *time.Time `json:"lastMessageSeenAt,omitempty" db:"last_messsage_seen_at"`
	ChatRows          int        `json:"chatRows" db:"chat_rows"`
	DayPass           int        `json:"dayPass" db:"day_pass"`
	RequestStatus     string     `json:"-"`
	RevealStatus      string     `json:"-"`
}

Conversation one to one with match

Jump to

Keyboard shortcuts

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