mirror of
https://git.ngram.ca/OpenJam/rc-servers
synced 2026-08-23 23:08:52 +00:00
22 lines
600 B
Rust
22 lines
600 B
Rust
//! `SeaORM` Entity, @generated by sea-orm-codegen 1.1.11
|
|
|
|
use sea_orm::entity::prelude::*;
|
|
|
|
#[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq)]
|
|
#[sea_orm(table_name = "ROBOT_CUBES")]
|
|
pub struct Model {
|
|
#[sea_orm(primary_key, auto_increment = false)]
|
|
pub id: u32,
|
|
#[sea_orm(column_type = "Text")]
|
|
pub cube_data: String,
|
|
#[sea_orm(column_type = "Text")]
|
|
pub colour_data: String,
|
|
#[sea_orm(column_type = "Text")]
|
|
pub cube_amounts: String,
|
|
}
|
|
|
|
#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]
|
|
pub enum Relation {}
|
|
|
|
impl ActiveModelBehavior for ActiveModel {}
|