home.component.ts 897 Bytes
Newer Older
Kriengkrai Yothee's avatar
Kriengkrai Yothee committed
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
import { Component, OnInit } from '@angular/core';

import { Student } from '../models/students';
import { STUDENTS } from '../mock/mock-students';

import { Lecturer } from '../models/lecturers';
import { LECTURER } from '../mock/mock-lecturers';

import { Score } from '../models/scores';
import { SCORES } from '../mock/mock-scores';

import { Course } from '../models/courses';
import { COURSES } from '../mock/mock-courses';

@Component({
  selector: 'app-home',
  templateUrl: './home.component.html',
  styleUrls: ['./home.component.scss'],
})
export class HomeComponent implements OnInit {
  title = 'Course Web Application and Mobile Application';
  descriptiion = 'คำอธิบายรายวิชา';
  students: Student[] = STUDENTS;
  lecturers: Lecturer[] = LECTURER;
  scores: Score[] = SCORES;
  courses: Course[] = COURSES;

  constructor() {}

  ngOnInit(): void {}
}