feat: init book handler
This commit is contained in:
7
src/model/http_body/book.rs
Normal file
7
src/model/http_body/book.rs
Normal file
@@ -0,0 +1,7 @@
|
||||
use serde::Serialize;
|
||||
|
||||
#[derive(Serialize)]
|
||||
pub struct BookItem {
|
||||
pub id: i64,
|
||||
pub name: String,
|
||||
}
|
||||
1
src/model/http_body/mod.rs
Normal file
1
src/model/http_body/mod.rs
Normal file
@@ -0,0 +1 @@
|
||||
pub mod book;
|
||||
Reference in New Issue
Block a user