29 lines
616 B
Rust
29 lines
616 B
Rust
//! SeaORM Entity. Generated by sea-orm-codegen 0.1.0
|
|
|
|
use sea_orm::entity::prelude::*;
|
|
|
|
#[derive(Clone, Debug, PartialEq, DeriveEntityModel)]
|
|
#[sea_orm(table_name = "rust_keyword")]
|
|
pub struct Model {
|
|
#[sea_orm(primary_key)]
|
|
pub id: i32,
|
|
pub testing: i32,
|
|
pub rust: i32,
|
|
pub keywords: i32,
|
|
pub r#type: i32,
|
|
pub r#typeof: i32,
|
|
pub crate_: i32,
|
|
pub self_: i32,
|
|
}
|
|
|
|
#[derive(Copy, Clone, Debug, EnumIter)]
|
|
pub enum Relation {}
|
|
|
|
impl RelationTrait for Relation {
|
|
fn def(&self) -> RelationDef {
|
|
panic!("No RelationDef")
|
|
}
|
|
}
|
|
|
|
impl ActiveModelBehavior for ActiveModel {}
|