| | |
| | | struct CourseDetailListModel:HandyJSON { |
| | | var classHours: Int = 0 |
| | | var id: Int = 0 |
| | | var originalPrice: Double = 0 |
| | | var paymentPrice: Double = 0 |
| | | var payType: Int = 0 |
| | | var playPaiCoin: Int = 0 |
| | | var vipPrice: Double = 0 |
| | | var originalPrice:Double? |
| | | var paymentPrice:Double = 0 |
| | | var payType: PaymentType = .cash |
| | | var playPaiCoin:Int? |
| | | var vipPrice:Double? |
| | | } |
| | | |
| | | struct CourseDetailStudentModel:HandyJSON { |
| | | var age: Int = 0 |
| | | var id: Int = 0 |
| | | var name = "" |
| | | var phone: String = "" |
| | | } |
| | | |
| | | struct CouponInfoModel:HandyJSON{ |
| | | ///有效时间 |
| | | var effectiveTime: String = "" |
| | | /// 优惠内容 |
| | | var favorable: String = "" |
| | | var id: Int = 0 |
| | | var name: String = "" |
| | | var type:CouponType = .none |
| | | /// 使用条件 |
| | | var useCondition: String = "" |
| | | } |