AutorÃa | Ultima modificación | Ver Log |
//// CapsuleModel.swift// twogetskills//// Created by Efrain Yanez Recanatini on 2/21/22.//import Foundation//, Identifiablestruct CapsuleModel: Decodable {var uuid: Stringvar topicUuid: Stringvar name: Stringvar description: Stringvar image: Stringvar position: Intvar totalSlides : Intvar viewSlides : Intvar progress : Doublevar completed : Intinit() {uuid = ""topicUuid = ""name = ""description = ""image = ""position = 0totalSlides = 0viewSlides = 0progress = 0completed = 0}init(uuid: String, topicUuid : String, name : String, description : String, image : String, position : Int, totalSlides: Int, viewSlides: Int, progress : Double, completed : Int) {self.uuid = uuidself.topicUuid = topicUuidself.name = nameself.description = descriptionself.image = imageself.position = positionself.totalSlides = totalSlidesself.viewSlides = viewSlidesself.progress = progressself.completed = completed}}