Add account models.

This commit is contained in:
Alexis Lahouze 2017-07-13 16:54:09 +02:00
parent f3c3ddfebf
commit f55efca9fd
2 changed files with 16 additions and 0 deletions

11
src/accounts/account.ts Normal file
View 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;
}

View File

@ -0,0 +1,5 @@
export class AccountBalances {
current: number;
pointed: number;
future: number;
}