Files
barker/bookie/src/app/core/tax.ts
tanshu 6567f560ab Updated to angular 11
Now compiling with strict mode in typescript
Need to error checking now
2020-11-22 10:13:37 +05:30

15 lines
273 B
TypeScript

export class Tax {
id: string | undefined;
name: string;
rate: number;
isFixture: boolean;
public constructor(init?: Partial<Tax>) {
this.id = undefined;
this.name = '';
this.rate = 0;
this.isFixture = false;
Object.assign(this, init);
}
}