use ormlite::types::Uuid; use ormlite::model::*; use crate::organization::Organization; #[derive(Debug, Model)] pub struct User { pub id: Uuid, pub name: String, pub age: u8, #[ormlite(join_column = "organization_id")] pub organization: Join, }