litelist/litelist-api/source/data/model.d

23 lines
309 B
D
Raw Normal View History

module data.model;
struct User {
string username;
string email;
string passwordHash;
}
struct NoteList {
ulong id;
string name;
uint ordinality;
string description;
Note[] notes;
}
struct Note {
ulong id;
ulong noteListId;
uint ordinality;
string content;
}