legacy_model

package
v1.0.0-13 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Credit

type Credit struct {
	bun.BaseModel `bun:"credits,alias:c"`
	ID            int `bun:"cid,pk,auto_increment,notnull"`
	UserId        int `bun:"uid"`
	Total         int `bun:"total"`
}

Credit ...

type Play

type Play struct {
	bun.BaseModel `bun:"plays,alias:p"`
	ID            int `bun:"pid,pk,auto_increment,notnull"`
	UserId        int `bun:"uid"`
	TrackId       int `bun:"tid"`
	Status        int `bun:"event"`
	Date          int `bun:"date"`
}

Play ...

type Track

type Track struct {
	bun.BaseModel `bun:"tracks,alias:t"`
	ID            int    `bun:"tid,pk,auto_increment,notnull"`
	UserId        int    `bun:"uid"`
	Status        int    `bun:"status"`
	Date          int    `bun:"date"`
	Artist        string `bun:"track_artist"`
	Name          string `bun:"track_name"`
	Album         string `bun:"track_album"`
	AlbumArtist   string `bun:"track_album_artist"`
	Duration      string `bun:"track_duration"`
	Composer      string `bun:"track_composer"`
	Year          string `bun:"track_year"`
	AudioFile     string `bun:"track_url"`
	Cover         string `bun:"track_cover_art"`
	Number        string `bun:"track_number"`
}

Track

Jump to

Keyboard shortcuts

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