From d23fce7c9da9f47cb4bb4630c3b428b12ce1c7eb Mon Sep 17 00:00:00 2001 From: Robert <Robert@qq.com> Date: 星期四, 21 八月 2025 21:36:29 +0800 Subject: [PATCH] 会员 --- WanPai/Model/CommonModels.swift | 39 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 39 insertions(+), 0 deletions(-) diff --git a/WanPai/Model/CommonModels.swift b/WanPai/Model/CommonModels.swift index 68c73e2..95b4b1f 100644 --- a/WanPai/Model/CommonModels.swift +++ b/WanPai/Model/CommonModels.swift @@ -1086,5 +1086,44 @@ } +struct TicketModel:HandyJSON { + var count:Int = 0 + var name:String = "" + var time: Int = 0 +} + +struct VipModel:HandyJSON { + var couponJson: String = "" + var couponList = [CouponModel]() + var id: Int = 0 + var insertTime: String = "" + var price: NSNumber? + var status: Int = 0 + var ticketJson: String = "" + var time: Int = 0 + var timeType: Int = 0 + var vipName:String = "" + var ticketList = [TicketModel]() +} + +//struct CouponTwoModel:HandyJSON { +// var available: String = "" +// var cityOrStore: String = "" +// var effectiveTime: String = "" +// var id: Int = 0 +// var instructionsForUse: String = "" +// var name: String = "" +// var ruleModel: CouponModelRuleModel? +// var type:CouponType = .discount +// var useCondition: CouponConditionType = .nationwide +//} + +struct VipDataModel:HandyJSON { + var agreement: String = "" + var headImg: String = "" + var isVip: Int = 0 + var name: String = "" + var vipList = [VipModel]() +} -- Gitblit v1.7.1