hopr_db_entity/codegen/sqlite/
node_info.rs1use sea_orm :: entity :: prelude :: * ;
6
7# [derive (Clone , Debug , PartialEq , DeriveEntityModel , Eq)] # [sea_orm (table_name = "node_info")] pub struct Model { # [sea_orm (primary_key)] pub id : i32 , # [sea_orm (column_type = "Binary(12)")] pub safe_balance : Vec < u8 > , # [sea_orm (column_type = "Binary(12)")] pub safe_allowance : Vec < u8 > , pub safe_address : Option < String > , pub module_address : Option < String > , }
8
9# [derive (Copy , Clone , Debug , EnumIter , DeriveRelation)] pub enum Relation { }
10
11impl ActiveModelBehavior for ActiveModel { }