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

import UIKit
import SmartCodable

struct YHPersonInfoCellModel2: SmartCodable {
    
    var cellTitle: String = ""
    var frontUrl: String = "" // 正面url
    var backUrl: String = "" // 反面url
    
    // 1- 中国身份证  2-港澳通行证
    var idType: Int = 1 {
        didSet {
            if idType == 1 {
                cellTitle = "中国身份证"
            } else if idType == 2 {
                cellTitle = "港澳通行证"
            } else {
                cellTitle = "护照"
            }
        }
    }
}
