aboutsummaryrefslogtreecommitdiff
path: root/src/classes/item.ts
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-10-04 20:31:21 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-10-04 20:31:21 +0530
commit92fb85b8afaacc4a8b5dbb41eea2d0e35eeb6862 (patch)
tree1b7bd25a29d0751f3efbd5e1125a1b079a31045c /src/classes/item.ts
first commitv0.0.1
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
+ }
+}