Ébauche des modèles user et transaction

This commit is contained in:
Matt Marcha 2018-10-19 16:21:52 +02:00
parent 6d61399672
commit 10cae386cf
2 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,5 @@
export class Transaction {
from: string
to: string
amount: number
}

10
src/app/models/user.ts Normal file
View file

@ -0,0 +1,10 @@
import { Transaction } from "./Transaction";
export class User {
name: string
firstName: string
email: string
balance: number
lastTransactions: Array<Transaction>
}