adding a new core module

This module will hold all the core mechanincs so that we can abstract
things further and allow for a better design of the main system. This
gives the freedom of moving the ui further from the logic and allows
for changing the ui in the future.
This commit is contained in:
Chris Cochrun 2024-10-04 16:14:33 -05:00
parent 02599ef5a3
commit e05815e550
4 changed files with 97 additions and 0 deletions

View file

@ -0,0 +1,11 @@
use super::kinds::ServiceItemKind;
struct ServiceItem {
id: i32,
database_id: i32,
kind: ServiceItemKind,
}
struct ServiceItemModel {
items: Vec<ServiceItem>,
}