import { CompetencytopicModel, MyCompetencytopicModel } from "./competencytopic.model"

export interface CompetencyIndicatorsCourses0Model {
    competencyTopic: CompetencytopicModel
    companyId: string
    edesc: string
    tdesc: string
    indicatorsCourseDetailTh: string
    indicatorsCourseDetailEn: string
    expectation:string

}

export class MyCompetencyIndicatorsCourses0Model implements CompetencyIndicatorsCourses0Model {
    competencyTopic: CompetencytopicModel
    companyId: string
    edesc: string
    tdesc: string
    indicatorsCourseDetailTh: string
    indicatorsCourseDetailEn: string
    expectation:string
    constructor(data: Partial<CompetencyIndicatorsCourses0Model>) {
        this.competencyTopic = new MyCompetencytopicModel(data.competencyTopic || {})
        this.companyId = data.companyId || ""
        this.edesc = data.edesc || ""
        this.tdesc = data.tdesc || ""
        this.indicatorsCourseDetailTh = data.indicatorsCourseDetailTh || ""
        this.indicatorsCourseDetailEn = data.indicatorsCourseDetailEn || ""
        this.expectation = data.expectation || ""
    }
}

