blob: feadb43d4f021e6e4a11fe3fc807636ac2af98a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
pub use tosin_macros::{Model, gather_models as gather};
mod meta;
pub use meta::*;
pub type Id = usize;
pub enum Field {
CharField {
name: &'static str,
max_length: Option<usize>,
},
DateTimeField {
name: &'static str,
},
IntField {
name: &'static str,
},
}
|