//
//  YHBasicInfoFillModel.swift
//  galaxy
//
//  Created by davidhuangA on 2024/2/4.
//  Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//

import UIKit
import SmartCodable

class YHBasicInfoFillModel: SmartCodable {
    
    var applicant: ApplicantModel?
    var spouse: SpouseModel?
    var child: [SpouseModel]?
    var brother: [SpouseModel]?
    var background: backgroundModel?
    var order_id: String = ""
    
    required init() {
        
    }
}



class backgroundModel : SmartCodable {
    var subset : [subsetModel] = []
    var background_member : background_memberModel?
    
    required init() {
        
    }
}


class subsetModel : SmartCodable {
    var id : Int = 0
    var subset_name : String = ""
    
    required init() {
        
    }
}

class background_memberModel : SmartCodable {
    var has : String = ""
    var info : String = ""
    
    required init() {
        
    }
}


class SpouseModel : SmartCodable {
    var id : Int = 0
    var subset_name : String = ""
    var child_departure : background_memberModel?
    var child_deny : background_memberModel?
    required init() {
        
    }
}

class ApplicantModel : SmartCodable {
    var id : Int = 0
    var has_conviction : background_memberModel?
    var has_departure : background_memberModel?
    var has_deny : background_memberModel?
    var has_breaking_law : background_memberModel?
    var has_other_id : background_memberModel?
    
    required init() {
        
    }
    
}
