aboutsummaryrefslogtreecommitdiff
path: root/src/classes/customer.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/customer.ts
first commitv0.0.1
Diffstat (limited to 'src/classes/customer.ts')
-rw-r--r--src/classes/customer.ts21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/classes/customer.ts b/src/classes/customer.ts
new file mode 100644
index 0000000..e5d0fff
--- /dev/null
+++ b/src/classes/customer.ts
@@ -0,0 +1,21 @@
+import Address from './address'
+
+export default class Customer {
+ name: string
+ gstin: string
+ contactname: string
+ phone: string
+ email: string
+ website: string
+ billingaddress: Address
+
+ constructor() {
+ this.name = ''
+ this.gstin = ''
+ this.contactname = ''
+ this.phone = ''
+ this.email = ''
+ this.website = ''
+ this.billingaddress = new Address()
+ }
+}