44 lines
739 B
Rust

//!
//!
///
#[derive(Eq, Hash, Debug, Clone, Copy, PartialEq, diesel_derive_enum::DbEnum)]
pub enum MemberBankWithdrawState {
Application = 1,
Pending,
Complete,
}
table! {
use diesel::sql_types::{Uuid, Text, BigInt, Nullable, Double};
use super::MemberBankWithdrawStateMapping;
///
member_bank_withdraws(id) {
///
id -> Uuid,
///
member_id -> Uuid,
///
bank_name -> Text,
///
name -> Text,
///
account_number -> Text,
///
amount -> Double,
///
password -> Text,
///
memo -> Nullable<Text>,
///
state -> MemberBankWithdrawStateMapping,
///
state_changed_at -> BigInt,
///
created_at -> BigInt,
///
updated_at -> BigInt,
}
}