define-contents.ts
1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import { Injectable } from '@angular/core';
import { Menu } from './define-menu';
import { Unit } from './define-unit';
import { Qa } from './define-qa';
import { Keyword } from './define-keyword';
import { ContentsMenu } from './content-menu';
import { ContentsUnit } from './content-unit';
import { ContentsQa } from './content-qa';
import { ContentsExtunit } from './content-extunit';
import { ContentsExtqa } from './content-extqa';
import { ContentsKeyword } from './content-keyword';
/*
Generated class for the DataService provider.
See https://angular.io/docs/ts/latest/guide/dependency-injection.html
for more info on providers and Angular 2 DI.
*/
@Injectable()
export class Contents {
menu: Menu[];
unit: Unit[];
qa :Qa[];
extunit: Unit[];
extqa :Qa[];
keyword: Keyword[];
constructor() {
var menu = new ContentsMenu();
this.menu = menu.menu;
var unit = new ContentsUnit();
this.unit = unit.unit;
var qa = new ContentsQa();
this.qa = qa.qa;
var extunit = new ContentsExtunit();
this.extunit = extunit.extunit;
var extqa = new ContentsExtqa();
this.extqa = extqa.extqa;
var keyword = new ContentsKeyword();
this.keyword = keyword.keyword;
}
}