blob: ad60ac54bf4f7419499956c96e48449b0d3ea6e4 (
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::{gather_models as gather, Model};
mod meta;
pub use meta::*;
pub type Id = i64;
#[derive(Clone, Debug)]
pub enum Field {
CharField {
name: &'static str,
max_length: Option<usize>,
},
DateTimeField {
name: &'static str,
},
IntField {
name: &'static str,
},
}
|