event

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2021 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 Activity

type Activity struct {
	ID        int64          `json:"id,omitempty" db:"id"`
	Name      string         `json:"name,omitempty" db:"name"`
	Members   []*user.Member `json:"members,omitempty" db:"members"`
	History   []*Record      `json:"history,omitempty" db:"history"`
	CreatedAt int64          `json:"created_at,omitempty" db:"created_at"`
}

Activity declare an activity information

type Record added in v0.1.3

type Record struct {
	ID        int64          `json:"id" db:"id"`
	Activity  *Activity      `json:"activity,omitempty" db:"activity"`
	Remark    string         `json:"remark,omitempty" db:"remark"`
	Payer     *user.Member   `json:"payer,omitempty" db:"payer"`
	Members   []*user.Member `json:"members,omitempty" db:"members"`
	Total     int            `json:"total" db:"total"`
	CreatedAt int64          `json:"created_at" db:"created_at"`
}

Record declare a cost record information

Jump to

Keyboard shortcuts

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