feat: more models implemented
This commit is contained in:
@@ -9,10 +9,12 @@ pub struct Model {
|
||||
pub id: i32,
|
||||
#[sea_orm(index = "permission_names")]
|
||||
pub name: String,
|
||||
#[sea_orm(index = "permission_codes")]
|
||||
pub codename: String,
|
||||
pub level: i32,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]
|
||||
pub enum Relation {}
|
||||
|
||||
impl ActiveModelBehavior for ActiveModel {}
|
||||
impl ActiveModelBehavior for ActiveModel {}
|
||||
|
||||
Reference in New Issue
Block a user