Added contact module
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
|
||||
#[derive(Clone, Debug, Default, Deserialize, Serialize)]
|
||||
pub struct Contact {
|
||||
pub id: uuid::Uuid,
|
||||
// empty?
|
||||
pub firstname: String,
|
||||
// empty?
|
||||
pub lastname: String,
|
||||
// empty?
|
||||
pub nickname: String,
|
||||
pub phone_number: String,
|
||||
// empty
|
||||
pub user_id: uuid::Uuid,
|
||||
}
|
||||
@@ -1 +1,2 @@
|
||||
pub mod config;
|
||||
pub mod contact;
|
||||
|
||||
Reference in New Issue
Block a user