//
//  YHHKImmigrationRecordsSummaryModel.swift
//  galaxy
//
//  Created by alexzzw on 2024/9/23.
//  Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//

import Foundation
import SmartCodable

class YHHKImmigrationRecordsSummaryModel: SmartCodable {
    var list: [YHHKRecordsSummaryDataItem] = []
    
    required init() {
        
    }
}

class YHHKRecordsSummaryDataItem: SmartCodable {
    var username: String = ""
    var not_in_hk_days: Int = 0
    var sum_days: Int = 0
    var sum_times: Int = 0
    var last_stay_date: String = ""
    var statistics: [YHHKRecordsStatisticItem] = []
    var details: [YHHKRecordsDetailItem] = []
    
    required init() {
        
    }
}

class YHHKRecordsStatisticItem: SmartCodable {
    var year: Int = 0
    var sum_days: Int = 0
    var sum_times: Int = 0
    
    required init() {
        
    }
}

class YHHKRecordsDetailItem: SmartCodable {
    var start_date: String = ""
    var end_date: String = ""
    var days: Int = 0
    
    required init() {
        
    }
}

