rebuild file structur + simple sqlite db endpoint
This commit is contained in:
13
src/dto/rooms.rs
Normal file
13
src/dto/rooms.rs
Normal file
@@ -0,0 +1,13 @@
|
||||
use serde::Deserialize;
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
pub struct UpdateRoomStatusDto{
|
||||
pub room_number: i32,
|
||||
pub status: string,
|
||||
}
|
||||
|
||||
#[derive(Debug, Seserialize)]
|
||||
pub struct RoomStatusIdDto{
|
||||
pub room_number: i32,
|
||||
pub status: string,
|
||||
}
|
||||
Reference in New Issue
Block a user