You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
685 B
25 lines
685 B
//! `SeaORM` Entity. Generated by sea-orm-codegen 0.12.6
|
|
|
|
use sea_orm::entity::prelude::*;
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
#[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq, Serialize, Deserialize)]
|
|
#[sea_orm(table_name = "in_process_transaction")]
|
|
pub struct Model {
|
|
#[sea_orm(primary_key)]
|
|
pub id: i32,
|
|
pub created_at: DateTime,
|
|
#[sea_orm(unique)]
|
|
pub foreign_id: String,
|
|
#[sea_orm(unique)]
|
|
pub doc_path: String,
|
|
pub failed: i8,
|
|
#[sea_orm(column_type = "Text", nullable)]
|
|
pub error_string: Option<String>,
|
|
}
|
|
|
|
#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]
|
|
pub enum Relation {}
|
|
|
|
impl ActiveModelBehavior for ActiveModel {}
|