export interface PmstypeModel {
    pmsTypeId: string
    companyId: string
    edesc: string
    tdesc: string
    shortName: string
    weight: number
}

export class MyPmstypeModel implements PmstypeModel {
    pmsTypeId: string
    companyId: string
    edesc: string
    tdesc: string
    shortName: string
    weight: number
    constructor(data?: Partial<PmstypeModel>) {
        this.pmsTypeId = data?.pmsTypeId || ""
        this.companyId = data?.companyId || ""
        this.edesc = data?.edesc || ""
        this.tdesc = data?.tdesc || ""
        this.shortName = data?.shortName || ""
        this.weight = data?.weight ?? 0
    }
}

