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

import UIKit

class YHMyDocumentDetailModel: YHBaseModel {
    var prospectus: YHMyDocumentProspectusModel = YHMyDocumentProspectusModel()
    var writing_document: YHMyDocumentWritingDocumentModel = YHMyDocumentWritingDocumentModel()
}

class YHMyDocumentProspectusModel: YHBaseModel {
    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 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
}

class YHMyDocumentWritingDocumentModel: YHBaseModel {
    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()
}

class YHMyDocumentWritingDocumentDocSignModel: YHBaseModel {
    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 = ""
}

class YHMyDocumentWritingDocumentSupplementListModel: YHBaseModel {
    var id: Int = 0
    var name: String = ""
}
