generated from lucien/api-template
26 lines
414 B
TypeScript
26 lines
414 B
TypeScript
export type User = {
|
|
id: number;
|
|
name: string;
|
|
lastname: string;
|
|
admin: number;
|
|
}
|
|
|
|
export type Account = {
|
|
id: number;
|
|
balance: number;
|
|
client_id: number;
|
|
name: string;
|
|
interest: number;
|
|
}
|
|
|
|
export type Accounts = Account[];
|
|
|
|
export type Card = {
|
|
id: number;
|
|
account_id: number;
|
|
number: string;
|
|
expiration: string;
|
|
cvc: string;
|
|
}
|
|
|
|
export type Cards = Card[];
|