export interface GroupModel {
    groupId: string
    thName: string
    engName: string
    groupType: number
}

export class GroupModel implements GroupModel {
    groupId: string
    thName: string
    engName: string
    groupType: number
    constructor(data: Partial<any>) {
        this.groupId = data.groupId?data.groupId:''
        this.thName = data.thName?data.thName:''
        this.engName = data.engName?data.engName:''
        this.groupType = data.groupType?data.groupType:0
    }
}