fix
无故事王国
2024-06-13 5c9191f42013d24360a3ef9e7ddd701c5a1a6209
DolphinEnglishLearnStudent/Models/CommonModel.swift
@@ -239,10 +239,28 @@
            var week = 0
}
class ListenNewModel:HandyJSON{
            var data:ListenNewDataModel?
            var subjectList = [[Listen1SubModel]]()
            required init(){}
}
class ListenNewDataModel:HandyJSON{
            var id = 0
            var integral = 0
            required init(){}
}
class Listen1Model:HandyJSON{
            var data:Listen1DataModel?
            var subjectList = [Listen1SubModel]()
            var storyList = [Listen1SubModel]()
            //超级记忆专用
            var photoList = [SimpleListenDataModel]()
            var voiceList = [SimpleListenDataModel]()
            required init(){}
}
@@ -329,6 +347,7 @@
struct StudyScheduleModel:HandyJSON{
            var answer: Int = 0
            var day: Int = 0
            var computeSchedule:Int = 0
            var id: Int = 0
            var induction: Int = 0
            var listen: Int = 0
@@ -342,3 +361,24 @@
            var week: Int = 0
            var weekStudy: Int = 0
}
class SimpleListenDataModel:HandyJSON,Hashable{
            required init() {}
            static func == (lhs: SimpleListenDataModel, rhs: SimpleListenDataModel) -> Bool {
                        return lhs.id == rhs.id
            }
            func hash(into hasher: inout Hasher) {
            }
            var id = 0
            var photo = ""
            var voice = ""
            //游戏类型2专用
            var isOpen:Bool = false
            var type = 0 // 1:图片 2:音频
}