hopr_db_entity/codegen/sqlite/
log_status.rs

1//! `SeaORM` Entity, @generated by sea-orm-codegen 1.1.12
2
3
4
5use sea_orm :: entity :: prelude :: * ;
6
7# [derive (Clone , Debug , PartialEq , DeriveEntityModel , Eq)] # [sea_orm (table_name = "log_status")] pub struct Model { # [sea_orm (primary_key , auto_increment = false , column_type = "Binary(8)")] pub transaction_index : Vec < u8 > , # [sea_orm (primary_key , auto_increment = false , column_type = "Binary(8)")] pub log_index : Vec < u8 > , # [sea_orm (primary_key , auto_increment = false , column_type = "Binary(8)")] pub block_number : Vec < u8 > , pub processed : bool , pub processed_at : Option < DateTime > , # [sea_orm (column_type = "Binary(32)" , nullable)] pub checksum : Option < Vec < u8 > > , }
8
9# [derive (Copy , Clone , Debug , EnumIter , DeriveRelation)] pub enum Relation { # [sea_orm (has_one = "super::log::Entity")] Log , }
10
11impl Related < super :: log :: Entity > for Entity { fn to () -> RelationDef { Relation :: Log . def () } }
12
13impl ActiveModelBehavior for ActiveModel { }