models

package
v0.0.0-...-02346b3 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2024 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 Expense

type Expense struct {
	ID        string    `json:"id" bson:"_id,omitempty"`
	RoomID    string    `json:"roomId"`
	DaddyID   string    `json:"daddyId"`
	Currency  string    `json:"currency"`
	Amount    float64   `json:"amount"`
	Tag       string    `json:"tag"`
	CreatedAt time.Time `json:"createdAt"`
	Title     string    `json:"title"`
	Desc      string    `json:"desc"`
}

type Room

type Room struct {
	ID   string `json:"_id"`
	Name string `json:"name"`
}

type User

type User struct {
	ID       string `json:"id" bson:"_id"`
	Username string `json:"username"`
}

Jump to

Keyboard shortcuts

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