barker/bookie/src/app/core/tax.ts

15 lines
273 B
TypeScript
Raw Normal View History

2019-06-15 17:39:43 +00:00
export class Tax {
id: string | undefined;
2019-06-15 17:39:43 +00:00
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);
}
2019-06-15 17:39:43 +00:00
}