entity creation

This commit is contained in:
2026-03-26 00:26:26 +00:00
parent 0ad9cbd85e
commit 834f58061c
9 changed files with 120 additions and 1 deletions
+17
View File
@@ -0,0 +1,17 @@
//! `SeaORM` Entity, @generated by sea-orm-codegen 1.1.19
use sea_orm::entity::prelude::*;
#[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq)]
#[sea_orm(table_name = "server")]
pub struct Model {
#[sea_orm(primary_key)]
pub id: i32,
pub id_discord: String,
pub name: String,
}
#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]
pub enum Relation {}
impl ActiveModelBehavior for ActiveModel {}