1405/02/14-add giftCards

This commit is contained in:
2026-05-04 16:22:10 +03:30
parent 4f1b5f5e85
commit 9c5d153fc0
6 changed files with 878 additions and 0 deletions
+46
View File
@@ -0,0 +1,46 @@
export interface Giftcard {
id: number
customer_id: any
count: number
amount: number
total: number
unit: number
unique_code: any
created_at: string
sts: any
expiry_date: string
used_count: any
updated_at: string
description: string
sts_str: any
giftcardcodes: Giftcardcode[]
}
export interface Giftcardcode {
id: number
giftcard_id: number
code: string
sts: number
unit: number
amount: number
assigned_to: AssignedTo
used_at: string
expiry_date: string
created_at: string
updated_at: string
}
export interface AssignedTo {
id: number
name: string
mobile: string
}
export interface GiftcardInput {
mobile: string
name: string
count: number
amount: number
unit: string
expiry_date: string
description: string
}