//
//  YHContactMainItemStatusModel.swift
//  galaxy
//
//  Created by davidhuangA on 2024/1/26.
//  Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//

import UIKit
import SmartCodable

class YHContactMainItemStatusModel {
    var type: Int = -1 {
        didSet {
            if type == 1 {
                iconName = "service_center_sfsq_xxws_icon"
                itemName = "我的信息"
            } else if type == 2 {
                iconName = "service_center_sfsq_zlsc_icon"
                itemName = "我的证件"
            } else if type == 3 {
                iconName = "service_center_sfsq_wdpf_icon"
                itemName = "我的评分"
            } else if type == 4 {
                iconName = "service_center_sfsq_wdws_icon"
                itemName = "我的文书"
            } else if type == 5 {
                iconName = "service_center_sfsq_wdqz_icon"
                itemName = "我的签字"
            } else if type == 6 {
                iconName = "service_center_sfsq_wdfa_icon"
                itemName = "我的方案"
            } else {
                
                iconName = "service_center_sfsq_wdpf_icon"
                itemName = "--"
                
            }
        }
    }
    var isFinished: Bool = false
    var iconName: String = ""
    var itemName: String = ""
}

struct YHContactMainItemStatusModel2: SmartCodable {
    var fill_info_step: Int = 0 // 我的信息  当前第几步
    var supplement_not_submit_num: Int = 0 // 资料上传 待上传的数量
    var scheme_position_switch: Int = 0 // 方案定位是否开启 0未开启 1开启
    var my_signature: Bool = false // 是否开启我的签字
    var my_document: Bool = false  // 是否开启我的文书
}

struct YHContactInfoScoreModel: SmartCodable {
    var sum_score: String = ""    
}
