15 lines
273 B
TypeScript
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);
|
|
}
|
|
}
|