mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
25 lines
615 B
Plaintext
Vendored
25 lines
615 B
Plaintext
Vendored
= Automated Collection Management System =
|
|
The collection management system needs rewritten from the ground up.
|
|
The model should look something like this.
|
|
* [ ] TODO :: Refactor collections algorithm. #aebaee91
|
|
{{{python
|
|
Collection {
|
|
id: int
|
|
name: String
|
|
books: list(Book)
|
|
}
|
|
}}}
|
|
|
|
it is likely the book object will need rewritten as well.
|
|
{{{python
|
|
Book {
|
|
id: int
|
|
title: String
|
|
# other book metadata
|
|
collection: list(Collection.id)
|
|
}
|
|
}}}
|
|
|
|
{{file://$HOME/.local/builds/pyShelf/src/backend/lib/storage.py}}
|
|
{{file://$HOME/.local/builds/pyShelf/src/backend/pyShelf_ScanLibrary.py}}
|