Added dto
This commit is contained in:
parent
19c4567323
commit
761b5ec25e
6
src/dto/chat.rs
Normal file
6
src/dto/chat.rs
Normal 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
1
src/dto/mod.rs
Normal file
@ -0,0 +1 @@
|
||||
pub mod chat;
|
Loading…
Reference in New Issue
Block a user