Files
brewman/overlord/src/app/mozimo-daily-register/mozimo-daily-register-item.ts

31 lines
685 B
TypeScript

import { Product } from '../core/product';
export class MozimoDailyRegisterItem {
id: string | null;
product: Product;
opening: number;
received: number;
sale: number;
nc: number;
display: number | null;
ageing: number | null;
variance: number | null;
closing: number;
lastEditDate: string | null;
public constructor(init?: Partial<MozimoDailyRegisterItem>) {
this.id = null;
this.product = new Product();
this.opening = 0;
this.received = 0;
this.sale = 0;
this.nc = 0;
this.display = null;
this.ageing = null;
this.variance = null;
this.closing = 0;
this.lastEditDate = null;
Object.assign(this, init);
}
}