import { GroupAssessment1Model, MyGroupAssessment1Model } from "./group-assessment1.model"

export interface MasfromEvaluationAssessment1Model {
    companyId: string
    lineNo: number
    groupAssessment1: GroupAssessment1Model
}

export class MyMasfromEvaluationAssessment1Model implements MasfromEvaluationAssessment1Model {
    companyId: string
    lineNo: number
    groupAssessment1: GroupAssessment1Model
    constructor(data?: Partial<MasfromEvaluationAssessment1Model>) {
        this.companyId = data?.companyId || ""
        this.lineNo = data?.lineNo ?? 0
        this.groupAssessment1 = new MyGroupAssessment1Model(data?.groupAssessment1)
    }
}