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