aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/models/Need.ts
diff options
context:
space:
mode:
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
+}