model

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Author

type Author struct {
	ID    int64
	Name  string
	Sort  string
	Count int // for intermediate storing author book counts
}

type Book

type Book struct {
	ID       int64
	File     string
	CRC32    uint32
	Archive  string
	Size     int64
	Format   string
	Title    string
	Sort     string
	Year     string
	Plot     string
	Cover    string
	Language *Language
	Authors  []*Author
	Genres   []string
	Serie    *Serie
	SerieNum int
	Updated  int64
}

type Genre

type Genre struct {
	ID    int64
	Code  string
	Bunch string
	Name  string
}

type Language

type Language struct {
	ID   int64
	Code string
	Name string
}

type Serie

type Serie struct {
	ID    int64
	Name  string
	Count int
}

Jump to

Keyboard shortcuts

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