younger_times
2023-07-12 5a590aaf3fd9ed5f9cfd2d54e72c904ce4918e7f
WanPai/Model/CommonModels.swift
@@ -43,15 +43,28 @@
struct CourseDetailListModel:HandyJSON {
    var classHours: Int = 0
    var id: Int = 0
    var originalPrice: Double = 0
    var originalPrice:Double?
    var paymentPrice: Double = 0
    var payType: Int = 0
    var playPaiCoin: Int = 0
    var vipPrice: 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 = ""
}