This commit is contained in:
quantulr
2023-11-12 22:30:58 +08:00
commit bd1bb4952a
28 changed files with 3101 additions and 0 deletions

View File

@ -0,0 +1,22 @@
//! `SeaORM` Entity. Generated by sea-orm-codegen 0.11.3
use sea_orm::entity::prelude::*;
#[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq)]
#[sea_orm(table_name = "la_article_category")]
pub struct Model {
#[sea_orm(primary_key)]
pub id: u32,
pub name: String,
pub sort: u16,
pub is_show: u8,
pub is_delete: u8,
pub create_time: Option<u32>,
pub update_time: Option<u32>,
pub delete_time: Option<u32>,
}
#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]
pub enum Relation {}
impl ActiveModelBehavior for ActiveModel {}