model

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 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 keeping 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
	Keywords 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 // for intermediate keeping serie book counts
}

Jump to

Keyboard shortcuts

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