diff --git a/src/model/section.rs b/src/model/section.rs index 7659fa6..3578cf0 100644 --- a/src/model/section.rs +++ b/src/model/section.rs @@ -2,9 +2,11 @@ use crate::section_interface::SecId; use rusqlite::{Error as SqlError, Row as SqlRow, ToSql}; use std::sync::Arc; +pub type SectionId = u32; + #[derive(Debug, Clone)] pub struct Section { - pub id: u32, + pub id: SectionId, pub name: String, pub interface_id: SecId, }