aboutsummaryrefslogtreecommitdiff
path: root/src/classes/item.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes/item.ts')
-rw-r--r--src/classes/item.ts21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/classes/item.ts b/src/classes/item.ts
new file mode 100644
index 0000000..271eb3d
--- /dev/null
+++ b/src/classes/item.ts
@@ -0,0 +1,21 @@
+export default class Item {
+ unitofmeasure: string
+ hasdecimalquantity: boolean
+ name: string
+ description: string
+ hsn: string
+ unitprice: string
+ gstpercentage: string
+ brandid: number
+
+ constructor() {
+ this.name = ''
+ this.description = ''
+ this.hsn = ''
+ this.unitprice = ''
+ this.gstpercentage = ''
+ this.unitofmeasure = ''
+ this.hasdecimalquantity = false
+ this.brandid = 0
+ }
+}