aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/models/Need.ts
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2025-02-26 20:41:35 -0500
committersowgro <tpoke.ferrari@gmail.com>2025-02-26 20:41:35 -0500
commit8a2d6c332a089c2dbb7351514499e16f343959ff (patch)
tree9451b9a92b8fc43ed88d215fd3b8a63a151f12f7 /ufund-ui/src/app/models/Need.ts
parent04910f9a8e8b30add77852ac2968acdbda834a83 (diff)
downloadJellySolutions-8a2d6c332a089c2dbb7351514499e16f343959ff.tar.gz
JellySolutions-8a2d6c332a089c2dbb7351514499e16f343959ff.tar.bz2
JellySolutions-8a2d6c332a089c2dbb7351514499e16f343959ff.zip
Start services and organize project
Diffstat (limited to 'ufund-ui/src/app/models/Need.ts')
-rw-r--r--ufund-ui/src/app/models/Need.ts13
1 files changed, 13 insertions, 0 deletions
diff --git a/ufund-ui/src/app/models/Need.ts b/ufund-ui/src/app/models/Need.ts
new file mode 100644
index 0000000..607a6a7
--- /dev/null
+++ b/ufund-ui/src/app/models/Need.ts
@@ -0,0 +1,13 @@
+export interface Need {
+ name: string,
+ id: number,
+ filterAttributes: String[],
+ type: GoalType;
+ maxGoal: number;
+ current: number;
+}
+
+enum GoalType {
+ MONETARY,
+ PHYSICAL
+}