barker/bookie/src/app/sales/bills/kot.ts
tanshu 6567f560ab Updated to angular 11
Now compiling with strict mode in typescript
Need to error checking now
2020-11-22 10:13:37 +05:30

21 lines
403 B
TypeScript

import { User } from '../../core/user';
import { Inventory } from './inventory';
export class Kot {
id: string | undefined;
code: number;
date: string;
user: User;
inventories: Inventory[];
public constructor(init?: Partial<Kot>) {
this.id = undefined;
this.code = 0;
this.date = '';
this.user = new User();
this.inventories = [];
Object.assign(this, init);
}
}