Added dto

This commit is contained in:
Franklin 2023-01-29 15:29:10 -04:00
parent 19c4567323
commit 761b5ec25e
2 changed files with 7 additions and 0 deletions

6
src/dto/chat.rs Normal file
View File

@ -0,0 +1,6 @@
use serde::{Serialize, Deserialize};
#[derive(Serialize, Deserialize, Debug, Default, PartialEq, Eq, PartialOrd, Ord)]
pub struct ChatRoomParticipants {
pub participants: u32,
}

1
src/dto/mod.rs Normal file
View File

@ -0,0 +1 @@
pub mod chat;