//
//  YHMyDocumentDetailModel.swift
//  galaxy
//
//  Created by EDY on 2024/3/15.
//  Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//

import UIKit
import SmartCodable

class YHMyDocumentDetailModel: SmartCodable {
    var prospectus: YHMyDocumentProspectusModel = YHMyDocumentProspectusModel()
    var writing_document: YHMyDocumentWritingDocumentModel = YHMyDocumentWritingDocumentModel()
    required init() {
    }
}

class YHMyDocumentProspectusModel: SmartCodable {
    var id: Int = 0
    var prospectus_id: Int = 0
    var order_id: Int = 0
    var career_achievement: String = ""
    var professional_skills: String = ""
    var academic_achievement: String = ""
    var visa_contribution: String = ""
    var talent_list: String = ""
    var plan_detail: String = ""
    var created_at: String = ""
    var updated_at: String = ""
    var deleted_at: String = ""
    var qualifications_and_awards: String = ""
    var other: String = ""
    var type: Int = 0
    var tag: String = ""
    var tencent_file_id: String = ""
    var tencent_docs_url: String = ""
    var remark: String = ""

    // 赴港计划书状态
    var status: Int = 0
    
    required init() {
    }
}

class YHMyDocumentWritingDocumentModel: SmartCodable {
    var customer_id: Int = 0
    var order_id: Int = 0
    var name: String = ""
    var status: Int = 0
    var supplement_id: Int = 0
    var tencent_file_url: String = ""
    var status_txt: String = ""
    var is_show_button: Bool = false
    var doc_sign: YHMyDocumentWritingDocumentDocSignModel = YHMyDocumentWritingDocumentDocSignModel()
    var supplement_list: YHMyDocumentWritingDocumentSupplementListModel = YHMyDocumentWritingDocumentSupplementListModel()
    
    required init() {
    }
}

class YHMyDocumentWritingDocumentDocSignModel: SmartCodable {
    var id: Int = 0
    var is_upload: Int = 0
    var supplement_id: Int = 0
    var doc_send: String = ""
    var status: Int = 0
    var doc_type: Int = 0
    var doc_return: [String] = []
    var doc_electronic: String = ""
    var wx_electronically_signed: Int = 0
    var doc_return_manual: [String] = []
    var doc_type_name: String = ""
    var audit_opinion: String = ""
    
    required init() {
    }
}

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