ruwebframe 0.1.2

a simple webframe for rust actix-web, based on rudi and rbatis.
Documentation
 
use displaydoc::Display;
use serde::{Deserialize, Serialize};
use crate::rubase::ruentity; 
 
#[derive(Debug, Display,Default,Clone,Serialize,Deserialize)]
pub struct DiExample {
   pub id: u64,
}

impl ruentity::BaseEntitySingle for DiExample {

}
impl DiExample {
    pub fn new() -> Self {
        println!(">>> Database::new() 被调用了!");
        Self { id: rand::random() }
    }
}