use crate::primitives::identifiers::ObjectId;
use serde::{Deserialize, Serialize};


#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct Name {
    pub complete: String,
    pub title: String,
    pub prefix: String,
    pub first: String,
    pub middle: String,
    pub last: String,
    pub suffix: String,
}

#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct User {
    pub id: ObjectId,
    pub key: String
} 