1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
use crate::model::Field;

pub trait Model {
    fn table_name() -> String;
    fn fields() -> Vec<Field>;
}

pub struct Relation {
    pub source: String,
    pub destination: String,
}