//
//  YHWorkExperienceDetailModel.swift
//  galaxy
//
//  Created by EDY on 2024/2/22.
//  Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//

import Foundation

class YHWorkExperienceDetailModel: YHBaseModel {
    var id: Int  = 0
    var order_id: Int  = 0
    var company_name: String  = ""
    var is_famous_enterprise: Int  = 0
    var duty: String  = ""
    var entry_time: String  = ""
    var departure_time: String  = ""
    var industry: String  = ""
    var location: YHAddressModel  = YHAddressModel()
    var location_aboard: Int  = 0
    var professional_level: Int  = 0
    var professional_other: String  = ""
    var position: String  = ""
    var remark: String  = ""
    var old_id: Int  = 0
    var created_at: String  = ""
    var updated_at: String  = ""
    var is_show: Int = 1 //1.保存会显示到列表上
    var deleted_at: String  = ""
    var operator_name: String  = ""
    var operator_english_name: String  = ""
    var operator_id: Int  = 0
    var work_certificate: String  = ""
    var executives_certificate: String  = ""
    var is_executives: Int  = 0
    var wduty: String  = ""
    var highlights: String  = ""
    var file: [YHWorkExperienceFileModel] = []
    var not_need_upload_file: Int  = 0
    var company_member_total: Int  = 0
    var administrative_level: Int  = 0
    var company_manage_total: Int  = 0
    var top_manager_start_at: String  = ""
    var top_manager_end_at: String  = ""
    var master_of_important_project: Int  = 0
    var match_listing: Int  = 0
    var is_synthetic: Int  = 0
    var step: Int  = 0
    var create_from_appid: Int  = 0
    var update_from_appid: Int  = 0
    var international_work_experience: Int  = 0
    var turnover: Int  = 0
    var business_nature: String  = ""
    var company_website: String  = ""
    var company_introduce: String  = ""
    var business_remark: String  = ""
    var is_project_introduction: Int  = 0
    var customer_center_id: Int  = 0
    var projects: [String]  = []
}

class YHWorkExperienceFileModel: YHBaseModel {
    var fileName: String  = ""
    var fileUrl: String  = ""
    var uploadedAt: String  = ""
    var isSelect: Bool = false 
}
