AutorÃa | Ultima modificación | Ver Log |
//
// AnswerModel.swift
// twogetskills
//
// Created by Efrain Yanez Recanatini on 2/21/22.
//
import Foundation
//, Identifiable
struct AnswerModel: Decodable {
var uuid: String
var questionUuid: String
var text: String
var points: Int
var correct: Int
init() {
uuid = ""
questionUuid = ""
text = ""
points = 0
correct = 0
}
init(uuid : String, questionUuid : String, text : String, points : Int, correct : Int) {
self.uuid = uuid
self.questionUuid = questionUuid
self.text = text
self.points = points
self.correct = correct
}
}