Chore: Model relationships updated to make them simpler Chore: Bill printing majorly refactored for it Due to the sheer depth of the changes. There can be showstoppers. Please test it carefully
17 lines
324 B
TypeScript
17 lines
324 B
TypeScript
export class Regime {
|
|
id: number | undefined;
|
|
name: string;
|
|
header: string;
|
|
prefix: string;
|
|
isFixture: boolean;
|
|
|
|
public constructor(init?: Partial<Regime>) {
|
|
this.id = undefined;
|
|
this.name = '';
|
|
this.header = '';
|
|
this.prefix = '';
|
|
this.isFixture = false;
|
|
Object.assign(this, init);
|
|
}
|
|
}
|