paymentlib/jsonb/
account.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::enums::account_status::AccountStatus;
use serde::{Deserialize, Serialize};
use uuid::Uuid;

#[derive(Serialize, Deserialize, Debug, Clone, PartialEq)]
#[serde(rename_all = "camelCase")]
pub struct Account {
    pub id: Uuid,
    pub bsb: i64,
    pub account_number: i128,
    pub account_name: String,
    pub status: AccountStatus,
}