younger_times
2023-07-20 bb4b7bdc199b81dd7e3febcfdc9bd69f6f80d633
WanPai/Model/CommonModels.swift
@@ -68,6 +68,16 @@
    var weight:Double = 0
}
struct StudentProfile1Model:HandyJSON{
    var birthday = ""
    var isNot = 2 //1. 是默认 2. 不是默认
    var stuAge:Int = 0
    var stuHeight:Double = 0
    var stuId = 0
    var stuName:String = ""
    var stuWeight:Double = 0
}
struct CouponInfoModel:HandyJSON{
    ///有效时间
    var effectiveTime: String = ""
@@ -264,3 +274,40 @@
    var cash:Double = 0
    var playPaiCoin:Int = 0
}
struct StartClouseHomeModel:HandyJSON{
    var bmi: Int = 0
    var courseList = [StartClouseListModel]()
    var deductedNums: Int = 0
    var exerciseVideoList = [StartClouseVideoListModel]()
    var height: Int = 0
    var imgs: String?
    ///是否有学员信息 (1. 有学员信息 2.没有学员信息)
    var isThere: Int = 2
    var remainingNums: Int = 0
    var stuAge: Int = 0
    var stuId: Int = 0
    var stuImg: String?
    var stuName: String?
    var stuSex: GenderType = .man
    var totalNums: Int = 0
    var weight: Int = 0
}
struct StartClouseListModel:HandyJSON{
    var courseId = 0
    var courseName = ""
}
struct StartClouseVideoListModel:HandyJSON {
    var videoCoverImgUrl: String = ""
    var videoName: String = ""
    var videoUrl: String = ""
}
struct StartClouseReportModel:HandyJSON{
    var bmi:Double = 0
    var height:Int = 0
    var url = ""
    var weight:Int = 0
}