bu4.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 Bu4Model {
    bu4id: string;
    tdesc: string;
    edesc: string;
    parent: string;
    companyId: string;
}


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