Add middleware
This commit is contained in:
parent
483fd60daa
commit
e6278176e4
6 changed files with 65 additions and 13 deletions
src/db
|
@ -15,7 +15,7 @@ use crate::types::EmgauwaUid;
|
|||
pub struct Schedule {
|
||||
#[serde(skip)]
|
||||
pub id: i32,
|
||||
#[serde(alias = "id")]
|
||||
#[serde(rename(serialize = "id"))]
|
||||
pub uid: EmgauwaUid,
|
||||
pub name: String,
|
||||
pub periods: Periods,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue