1405/02/14-add giftCards
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user