2020-10-11 05:26:29 +00:00
|
|
|
import { Tax } from './tax';
|
2019-06-20 07:45:23 +00:00
|
|
|
|
|
|
|
export class SaleCategory {
|
2020-11-22 04:43:37 +00:00
|
|
|
id: string | undefined;
|
2019-06-20 07:45:23 +00:00
|
|
|
name: string;
|
2020-12-16 06:19:22 +00:00
|
|
|
discountLimit: number;
|
|
|
|
tax?: Tax;
|
2020-11-22 04:43:37 +00:00
|
|
|
|
|
|
|
public constructor(init?: Partial<SaleCategory>) {
|
|
|
|
this.id = undefined;
|
|
|
|
this.name = '';
|
2020-12-16 06:19:22 +00:00
|
|
|
this.discountLimit = 1;
|
2020-11-22 04:43:37 +00:00
|
|
|
Object.assign(this, init);
|
|
|
|
}
|
2019-06-20 07:45:23 +00:00
|
|
|
}
|