export interface Bu1Model { bu1id: string; tdesc: string; edesc: string; companyId: string } export class MyBu1Model implements Bu1Model { bu1id: string; tdesc: string; edesc: string; companyId: string constructor(data?: Partial<Bu1Model>) { this.bu1id = data?.bu1id || "" this.tdesc = data?.tdesc || "" this.edesc = data?.edesc || "" this.companyId = data?.companyId || "" } }