13 lines
238 B
TypeScript
13 lines
238 B
TypeScript
|
export class CustomerDiscount {
|
||
|
id: string;
|
||
|
name: string;
|
||
|
discount: number;
|
||
|
|
||
|
public constructor(init?: Partial<CustomerDiscount>) {
|
||
|
this.id = '';
|
||
|
this.name = '';
|
||
|
this.discount = 0;
|
||
|
Object.assign(this, init);
|
||
|
}
|
||
|
}
|