models

package
v0.0.0-...-1e14abc Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Group

type Group struct {
	gorm.Model
	GroupchatId  int64
	LatestPollId int
	Activated    *bool `gorm:"default:true"`
}

type Participant

type Participant struct {
	gorm.Model
	GroupchatId int64
	UserId      int
	FirstName   string
	LastName    string
	Active      *bool `gorm:"default:true"`
	Counter     int   `gorm:"default:0"`
}

func (Participant) GetFullName

func (p Participant) GetFullName() string

func (Participant) GetMarkup

func (p Participant) GetMarkup() string

Jump to

Keyboard shortcuts

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