from etl.original_database.models import (
    ImReal, CrmCustomer, OaOrg, CmContract, CmPayPlan, CmPayPlanDetail,
    CrmSource, CrmTransformer, CrmVisit, CmLegal, CrmContact, IcInstockDetail,
    IcMaterial, IcMaterialTest, IcOutstockDetail, IcOffer, IcOfferDetail,
    IcOutstock, IcStock, DutyList, EtList, IcApply, IcApplyDetail, IcReport,
    IcCarCost, ImCustomer, ImAlertList, ImAlertValue, ImDevice, OaRole, ImLoad,
    ImPower, IoCustomer, IoDefect, IoBilling, OaRight, IoInspect, OaLog,
    IoPrice, IoInspectIn, MmTarget, IoInspectOut, IoMd, PmFollow, OaUser,
    PersonnelList, PmItem, PmImplement, PmSupport, PmProject, PmQuality,
    PointsAssign, PmSupportFollow, PointsGoods, PointsReceipt, PointsOrder,
    PointsTotal, PointsRecord, PointsUser, RmList, IcContract, IcDevice,
    IcFactory, IcInstock, IcCar, IcMaterialType)

MODELS_MAP = {
    "im_real": ImReal,
    "crm_customer": CrmCustomer,
    "oa_org": OaOrg,
    "cm_contract": CmContract,
    "cm_pay_plan": CmPayPlan,
    "cm_pay_plan_detail": CmPayPlanDetail,
    "crm_source": CrmSource,
    "crm_transformer": CrmTransformer,
    "crm_visit": CrmVisit,
    "cm_legal": CmLegal,
    "crm_contact": CrmContact,
    "ic_instock_detail": IcInstockDetail,
    "ic_material": IcMaterial,
    "ic_material_test": IcMaterialTest,
    "ic_outstock_detail": IcOutstockDetail,
    "ic_offer": IcOffer,
    "ic_offer_detail": IcOfferDetail,
    "ic_outstock": IcOutstock,
    "ic_stock": IcStock,
    "duty_list": DutyList,
    "et_list": EtList,
    "ic_apply": IcApply,
    "ic_apply_detail": IcApplyDetail,
    "ic_report": IcReport,
    "im_customer": ImCustomer,
    "im_alert_list": ImAlertList,
    "im_alert_value": ImAlertValue,
    "im_device": ImDevice,
    "oa_role": OaRole,
    "im_load": ImLoad,
    "im_power": ImPower,
    "io_customer": IoCustomer,
    "io_billing": IoBilling,
    "io_defect": IoDefect,
    "oa_right": OaRight,
    "io_inspect": IoInspect,
    "oa_log": OaLog,
    "io_price": IoPrice,
    "io_inspect_in": IoInspectIn,
    "mm_target": MmTarget,
    "io_inspect_out": IoInspectOut,
    "io_md": IoMd,
    "pm_follow": PmFollow,
    "oa_user": OaUser,
    "personnel_list": PersonnelList,
    "pm_item": PmItem,
    "pm_implement": PmImplement,
    "pm_support": PmSupport,
    "pm_project": PmProject,
    "pm_quality": PmQuality,
    "points_assign": PointsAssign,
    "pm_support_follow": PmSupportFollow,
    "points_goods": PointsGoods,
    "points_receipt": PointsReceipt,
    "points_order": PointsOrder,
    "points_total": PointsTotal,
    "points_record": PointsRecord,
    "points_user": PointsUser,
    "rm_list": RmList,
    "ic_contract": IcContract,
    "ic_device": IcDevice,
    "ic_factory": IcFactory,
    "ic_instock": IcInstock,
    "ic_car": IcCar,
    "ic_material_type": IcMaterialType,
    "ic_car_cost": IcCarCost,
}
