export interface CompetencyGradeModel {
  gradeId: string
  companyId: string
  edesc: string
  tdesc: string
  gradeDetail: string
  gradeMaxScore: number
  gradeMinScore: number
  weight: number
}
export class MyCompetencyGradeModel implements CompetencyGradeModel {
  gradeId: string
  companyId: string
  edesc: string
  tdesc: string
  gradeDetail: string
  gradeMaxScore: number
  gradeMinScore: number
  weight: number
  constructor(data?: Partial<CompetencyGradeModel>) {
    this.gradeId = data?.gradeId || ""
    this.companyId = data?.companyId || ""
    this.edesc = data?.edesc || ""
    this.tdesc = data?.tdesc || ""
    this.gradeDetail = data?.gradeDetail || ""
    this.gradeMaxScore = data?.gradeMaxScore ?? 0
    this.gradeMinScore = data?.gradeMinScore ?? 0
    this.weight = data?.weight ?? 0
  }
}

