bu7.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 Bu7Model {
    bu7id: string;
    tdesc: string;
    edesc: string;
    parent: string;
    companyId: string;
}


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