Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
913 B
2
Indexable
Never
//
//  SelfInspectionServiceQuestions.swift
//  Garageworks-iOS-Revamp
//
//  Created by mac on 14/12/22.
//

import Foundation
struct SelfInspectionServiceQuestions : Codable, Hashable{
    var parent_id :String? = ""
    var question :String? = ""
    var answers : [Answers] = []
    var answer_id :String? = ""
    var parent :String? = ""
    var is_child :String? = ""
    var start :Int?
    var total_count :Int?
    var offset :Int?
    enum CodingKeys: String, CodingKey{
        case parent_id
        case  question
        case  answers
        case  answer_id
        case parent
        case is_child
        case start
        case total_count
        case offset
    }
    
    struct Answers : Codable, Hashable{
        var answer_id: String? = ""
        var answer: String? = ""
        enum CodingKeys: String, CodingKey{
            case answer_id
            case answer
        }
    }
}