aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'ufund-ui/src/app/models')
-rw-r--r--ufund-ui/src/app/models/Need.ts20
-rw-r--r--ufund-ui/src/app/models/User.ts2
2 files changed, 12 insertions, 10 deletions
diff --git a/ufund-ui/src/app/models/Need.ts b/ufund-ui/src/app/models/Need.ts
index 9e97fd4..6cf7e76 100644
--- a/ufund-ui/src/app/models/Need.ts
+++ b/ufund-ui/src/app/models/Need.ts
@@ -1,13 +1,17 @@
export interface Need {
- name: string,
- id: number,
- filterAttributes: string[],
- type: GoalType;
- maxGoal: number;
- current: number;
+ name: string,
+ image: string,
+ id: number,
+ filterAttributes: string[],
+ location: string;
+ type: GoalType;
+ maxGoal: number;
+ current: number;
+ urgent: boolean;
+ description: string;
}
export enum GoalType {
- MONETARY,
- PHYSICAL
+ MONETARY,
+ PHYSICAL
}
diff --git a/ufund-ui/src/app/models/User.ts b/ufund-ui/src/app/models/User.ts
index f4396f6..e6848fa 100644
--- a/ufund-ui/src/app/models/User.ts
+++ b/ufund-ui/src/app/models/User.ts
@@ -1,5 +1,3 @@
-import {Need} from './Need';
-
export enum userType {
HELPER,
MANAGER