restructure generator
This commit is contained in:
9
templates/model_prelude.hbs
Normal file
9
templates/model_prelude.hbs
Normal file
@@ -0,0 +1,9 @@
|
||||
use {{prelude_path}}::*;
|
||||
use sea_orm::ActiveModelBehavior;
|
||||
|
||||
#[async_trait::async_trait]
|
||||
impl ActiveModelBehavior for {{active_model_name}} {}
|
||||
|
||||
impl {{model_name}} {}
|
||||
|
||||
impl {{active_model_name}} {}
|
||||
Reference in New Issue
Block a user