diff options
author | HombreLaser <sebastian-440@live.com> | 2023-05-25 19:11:31 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2023-05-25 19:11:31 -0600 |
commit | e8fa9bd7bba125a339f11876eb5ea99d0cd301b6 (patch) | |
tree | 5d8211221680a3c214b3a16b5d179722a8add085 /src/models | |
parent | da2631822f902094e691143302d6fc6b68e1cf56 (diff) |
Añade historial de órdenes
Diffstat (limited to 'src/models')
-rw-r--r-- | src/models/card.ts | 8 | ||||
-rw-r--r-- | src/models/order.ts | 6 |
2 files changed, 14 insertions, 0 deletions
diff --git a/src/models/card.ts b/src/models/card.ts new file mode 100644 index 0000000..b143580 --- /dev/null +++ b/src/models/card.ts @@ -0,0 +1,8 @@ +export interface Card { + id: number; + number: number; + expiration_year: string; + expiration_month: number; + expiration_day: number; + security_code: number; +}
\ No newline at end of file diff --git a/src/models/order.ts b/src/models/order.ts new file mode 100644 index 0000000..c2a4190 --- /dev/null +++ b/src/models/order.ts @@ -0,0 +1,6 @@ +export default interface Order { + id: number; + created_at: Date; + public_id: string; + total: number; +}
\ No newline at end of file |