aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/models/User.ts
diff options
context:
space:
mode:
Diffstat (limited to 'ufund-ui/src/app/models/User.ts')
-rw-r--r--ufund-ui/src/app/models/User.ts10
1 files changed, 8 insertions, 2 deletions
diff --git a/ufund-ui/src/app/models/User.ts b/ufund-ui/src/app/models/User.ts
index 46fe4a1..b640e04 100644
--- a/ufund-ui/src/app/models/User.ts
+++ b/ufund-ui/src/app/models/User.ts
@@ -1,6 +1,12 @@
import {Need} from './Need';
+export enum userType {
+ HELPER,
+ MANAGER
+}
+
export interface User {
- username: string;
- cupboard: Need[];
+ username: string;
+ basket: Need[];
+ type: userType
}