bu6.model.ts 530 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
export interface Bu6Model {
    bu6id: string;
    tdesc: string;
    edesc: string;
    parent: string;
    companyId: string;
}


export class MyBu6Model implements Bu6Model {
    bu6id: string;
    tdesc: string;
    edesc: string;
    parent: string;
    companyId: string;
    constructor(data: Partial<Bu6Model>) {
        this.bu6id = data.bu6id || ""
        this.tdesc = data.tdesc || ""
        this.edesc = data.edesc || ""
        this.parent = data.parent || ""
        this.companyId = data.companyId || ""
    }
}