1use crate::types::{DirectoryId, NoteId};
2
3#[derive(Clone, Debug)]
4pub struct Note {
5 pub id: NoteId,
6 pub directory_id: DirectoryId,
7 pub name: String,
8}
9
10#[derive(Clone, Debug)]
11pub struct Directory {
12 pub id: DirectoryId,
13 pub parent_id: DirectoryId,
14 pub name: String,
15}