hopr_db_entity/codegen/sqlite/network_eligibility.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 = "network_eligibility")]
7pub struct Model {
8 #[sea_orm(primary_key)]
9 pub id: i32,
10 #[sea_orm(unique)]
11 pub safe_address: String,
12}
13
14#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]
15pub enum Relation {}
16
17impl ActiveModelBehavior for ActiveModel {}