model

package
v0.0.0-...-5f5a93c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcademicField

type AcademicField struct {
	Name string `json:"name"`
}

type Chapter

type Chapter dto.ChapterDTO

func (Chapter) GetID

func (this Chapter) GetID() string

func (Chapter) IsNode

func (Chapter) IsNode()

type Node

type Node interface {
	IsNode()
	GetID() string
}

type RelatedSubject

type RelatedSubject dto.SubjectDTO

func (RelatedSubject) GetID

func (this RelatedSubject) GetID() string

func (RelatedSubject) IsNode

func (RelatedSubject) IsNode()

type Resource

type Resource dto.ResourceDTO

func (Resource) GetID

func (this Resource) GetID() string

func (Resource) IsNode

func (Resource) IsNode()

type Subject

type Subject dto.SubjectDTO

func (Subject) GetID

func (this Subject) GetID() string

func (Subject) IsNode

func (Subject) IsNode()

type SubjectWithSpecifiedVideos

type SubjectWithSpecifiedVideos struct {
	Subject Subject
	Videos  []Video
}

type Subpage

type Subpage dto.SubpageDTO

func (Subpage) GetID

func (this Subpage) GetID() string

func (Subpage) IsNode

func (Subpage) IsNode()

type Syllabus

type Syllabus struct {
	ID                string    `json:"id"`
	Faculty           string    `json:"faculty"`
	Language          string    `json:"language"`
	SubjectNumbering  string    `json:"subjectNumbering"`
	AcademicYear      int16     `json:"academicYear"`
	Semester          string    `json:"semester"`
	NumCredit         int8      `json:"numCredit"`
	CourseFormat      string    `json:"courseFormat"`
	AssignedGrade     string    `json:"assignedGrade"`
	TargetedAudience  string    `json:"targetedAudience"`
	CourseDayPeriod   string    `json:"courseDayPeriod"`
	Outline           string    `json:"outline"`
	Objective         string    `json:"objective"`
	LessonPlan        string    `json:"lessonPlan"`
	GradingMethod     string    `json:"gradingMethod"`
	CourseRequirement string    `json:"courseRequirement"`
	OutClassLearning  string    `json:"outClassLearning"`
	Reference         string    `json:"reference"`
	Remark            string    `json:"remark"`
	Subpages          []Subpage `json:"subpages"`
}

func (Syllabus) GetID

func (this Syllabus) GetID() string

func (Syllabus) IsNode

func (Syllabus) IsNode()

type Translation

type Translation dto.TranslationDTO

func (Translation) GetID

func (this Translation) GetID() string

func (Translation) IsNode

func (Translation) IsNode()

type Video

type Video struct {
	ID            string        `json:"id"`
	Ordering      int           `json:"ordering"`
	Title         string        `json:"title"`
	Link          string        `json:"link"`
	Chapters      []Chapter     `json:"chapters"`
	Faculty       string        `json:"faculty"`
	LecturedOn    time.Time     `json:"lecturedOn"`
	VideoLength   int           `json:"videoLength"`
	Language      string        `json:"language"`
	Transcription string        `json:"transcription"`
	Translations  []Translation `json:"translations"`
}

type Video dto.VideoDTO

func NewVideo

func NewVideo(videoDTO *dto.VideoDTO) *Video

func (Video) GetID

func (this Video) GetID() string

func (Video) IsNode

func (Video) IsNode()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL