hopr_db_entity/codegen/sqlite/global_settings.rs
1//! `SeaORM` Entity, @generated by sea-orm-codegen 1.1.10
2
3use sea_orm::entity::prelude::*;
4
5#[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq)]
6#[sea_orm(table_name = "global_settings")]
7pub struct Model {
8 #[sea_orm(primary_key)]
9 pub id: i32,
10 #[sea_orm(unique)]
11 pub key: String,
12 #[sea_orm(column_type = "Binary(1)")]
13 pub value: Vec<u8>,
14}
15
16#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]
17pub enum Relation {}
18
19impl ActiveModelBehavior for ActiveModel {}