agent_storage/family/family.rs
1//! Family record and its ownership and lifecycle metadata.
2
3use super::FamilyId;
4use crate::UserId;
5use chrono::{DateTime, Utc};
6use serde::{Deserialize, Serialize};
7
8#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
9pub struct Family {
10 pub id: FamilyId,
11 pub name: String,
12 /// Historical attribution; this user need not remain a member.
13 pub creator_id: UserId,
14 pub created_at: DateTime<Utc>,
15 pub updated_at: DateTime<Utc>,
16}