16 lines
333 B
TypeScript
16 lines
333 B
TypeScript
export class ProductGroup {
|
|
id: string | undefined;
|
|
name: string;
|
|
nutritional: boolean;
|
|
iceCream: boolean;
|
|
isFixture: boolean;
|
|
|
|
public constructor(init?: Partial<ProductGroup>) {
|
|
this.name = '';
|
|
this.nutritional = false;
|
|
this.iceCream = false;
|
|
this.isFixture = false;
|
|
Object.assign(this, init);
|
|
}
|
|
}
|