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