27 lines
708 B
TypeScript
27 lines
708 B
TypeScript
/**
|
||
* vip套餐项
|
||
*/
|
||
export interface IVipItem {
|
||
courseCount: number | null // 课程数量
|
||
state: number | null // 状态 0:在有效期, 1:已过期, null: 未购买
|
||
originalPrice: number | null // 原价
|
||
title: string // 套餐名称
|
||
type: number
|
||
vcbList?: IVipItemProduct[] // 未办理过使用的商品列表
|
||
yanqiList?: IVipItemProduct[] // 延期使用商品列表
|
||
[key: string]: any
|
||
}
|
||
|
||
/**
|
||
* vip套餐项商品
|
||
*/
|
||
export interface IVipItemProduct {
|
||
id: number
|
||
type: number
|
||
title: string
|
||
year: number // vip年数
|
||
rebateFee: number | null, // 折扣后价格
|
||
fee: number | null, // 课程价格
|
||
lastFee?: number | null, // 未使用字段
|
||
[key: string]: any
|
||
} |