#[common_fields]
自动实现公用id、create_time、update_time的字段。
id
create_time
update_time
需要配合SqlHelper派生宏使用
SqlHelper
#[common_fields] #[derive(SqlHelper)] pub struct Person { pub name: String, pub age: i32, pub weight: Option<i32>, }