Book - A book.
Entity field | Field descr. | Field type | DB table | DB pkey | DB fkey | DB extension | DB custom | DB test_chain | UI full_view |
---|---|---|---|---|---|---|---|---|---|
book_id | Book Id. | unique_id | x | x | |||||
title | Title | string[80] | x | x | |||||
isbn | ISBN | string[80] | x | x | |||||
author_id | Author Id. | link to author | x | x | |||||
publisher_id | Publisher Id. | link to publisher | x | x | |||||
status | Status | enum | x | x | |||||
num_copies | Num. copies | range uint32 [0 - 1000000] |
x | x | |||||
author_name | Author name | string[80] | x | x | |||||
pen_name | Author pen name | string[80] | x | ||||||
publisher_name | Publisher name | string[80] | x | x | |||||
get_all_by_title | Query by title | function | x | x | |||||
get_all_by_author_name | Query by author name | function | x | x | |||||
update_status_by_publisher | Update by publisher | function | x | x | |||||
query_result | Query result | list of book | |||||||
new_status | New status | enum |
Name | Parameters | Returns | |
---|---|---|---|
get_all_by_title | string title | -> | list of book query_result |
get_all_by_author_name | string author_name | -> | list of book query_result |
update_status_by_publisher |
link to publisher publisher_id
, enum new_status |
-> | (void) |
Enum "status" |
|
Enum "new_status" |
|