mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Refactoring collections handler
This commit is contained in:
21
wiki/Automated Collections.wiki
vendored
Normal file
21
wiki/Automated Collections.wiki
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
= 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. #8f46262c
|
||||
{{{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)
|
||||
}
|
||||
}}}
|
||||
Reference in New Issue
Block a user