feat: new book price in database and book data endpoints

This commit is contained in:
Ninjdai 2025-08-04 15:01:47 +02:00
parent 3320d1400c
commit eb3181242b
6 changed files with 28 additions and 60 deletions

View file

@ -9,7 +9,8 @@ pub struct Model {
pub id: u32,
pub ean: String,
pub title: String,
pub author: String
pub author: String,
pub price_new: Option<String>,
}
impl Default for Model {
@ -18,7 +19,8 @@ impl Default for Model {
id: 0,
ean: "".to_string(),
title: "".to_string(),
author: "".to_string()
author: "".to_string(),
price_new: None,
}
}
}