import { CompetencyIndicatorsCourses1MiniModel, MyCompetencyIndicatorsCourses1MiniModel } from "./competency-indicators-courses1-mini.model"
import { MyPLModel, PLModel } from "./pl.model"

export interface GroupAssessmentMiniModel {
    personalLevel: PLModel
    competencyIndicatorsCourses1Mini: CompetencyIndicatorsCourses1MiniModel
    companyId: string
    edesc: string
    tdesc: string
}
export class MyGroupAssessmentMiniModel implements GroupAssessmentMiniModel {
    personalLevel: PLModel
    competencyIndicatorsCourses1Mini: CompetencyIndicatorsCourses1MiniModel
    companyId: string
    edesc: string
    tdesc: string
    constructor(data?: Partial<GroupAssessmentMiniModel>) {
        this.personalLevel = new MyPLModel(data?.personalLevel)
        this.competencyIndicatorsCourses1Mini = new MyCompetencyIndicatorsCourses1MiniModel(data?.competencyIndicatorsCourses1Mini)
        this.companyId = data?.companyId || ""
        this.edesc = data?.edesc || ""
        this.tdesc = data?.tdesc || ""
    }
}

