dnet40/modules/uoa-admin-portal/trunk/src/app/domain/question.ts @ 61384
1 |
/**
|
---|---|
2 |
* Created by stefania on 4/26/17.
|
3 |
*/
|
4 |
import { Topic } from './topic'; |
5 |
|
6 |
export interface Question { |
7 |
_id: string; |
8 |
question: string; |
9 |
answer: string; |
10 |
date: Date; |
11 |
isActive: boolean; |
12 |
weight: number; |
13 |
hitCount: number; |
14 |
topics: Topic[] | string[]; |
15 |
}
|
16 |
|
17 |
export interface CheckQuestion { |
18 |
question: Question; |
19 |
checked: boolean; |
20 |
}
|
21 |
|
22 |
export interface QuestionFilterOptions { |
23 |
id: string; |
24 |
active: Boolean; |
25 |
text: RegExp; |
26 |
}
|