Add account models.
This commit is contained in:
parent
f3c3ddfebf
commit
f55efca9fd
11
src/accounts/account.ts
Normal file
11
src/accounts/account.ts
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
// vim: set tw=80 ts=2 sw=2 sts=2 :
|
||||||
|
|
||||||
|
import { AccountBalances } from './accountBalances';
|
||||||
|
|
||||||
|
export class Account {
|
||||||
|
id: number;
|
||||||
|
name: string;
|
||||||
|
authorized_overdraft: number;
|
||||||
|
|
||||||
|
balances: AccountBalances;
|
||||||
|
}
|
5
src/accounts/accountBalances.ts
Normal file
5
src/accounts/accountBalances.ts
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
export class AccountBalances {
|
||||||
|
current: number;
|
||||||
|
pointed: number;
|
||||||
|
future: number;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user