using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace lib.model
{
    internal class ImportItem : DbTableItem
    {
        private static IniFile ini = new IniFile("Linkage_data.ini");
        private static string strTableName = ini.Read("FCT82T", "Table");
        private readonly string TABLE = strTableName; //"ImportItem";

        private Dictionary<string, object> COLUMNS = new Dictionary<string, object>()
        {
            { ini.Read("Col1", "ColFCT82T"), "" },
            { ini.Read("Col2", "ColFCT82T"), "" },
            { ini.Read("Col3", "ColFCT82T"), "" },
            { ini.Read("Col4", "ColFCT82T"), "" },
            { ini.Read("Col5", "ColFCT82T"), "" },
            { ini.Read("Col6", "ColFCT82T"), "" },
            { ini.Read("Col7", "ColFCT82T"), "" },
            { ini.Read("Col8", "ColFCT82T"), "" },
            { ini.Read("Col9", "ColFCT82T"), "" },
            { ini.Read("Col10", "ColFCT82T"), "" },
            { ini.Read("Col11", "ColFCT82T"), "" },
            { ini.Read("Col12", "ColFCT82T"), "" },
            { ini.Read("Col13", "ColFCT82T"), "" },
            { ini.Read("Col14", "ColFCT82T"), "" },
            { ini.Read("Col15", "ColFCT82T"), "" },
            { ini.Read("Col16", "ColFCT82T"), "" },
            { ini.Read("Col17", "ColFCT82T"), "" },
            { ini.Read("Col18", "ColFCT82T"), "" },
            { ini.Read("Col19", "ColFCT82T"), "" },
            { ini.Read("Col20", "ColFCT82T"), "" },
            { ini.Read("Col21", "ColFCT82T"), "" },
            { ini.Read("Col22", "ColFCT82T"), "" },
            { ini.Read("Col23", "ColFCT82T"), "" },
            { ini.Read("Col24", "ColFCT82T"), "" },
            { ini.Read("Col25", "ColFCT82T"), "" },
            { ini.Read("Col26", "ColFCT82T"), "" },
            { ini.Read("Col27", "ColFCT82T"), "" },
            { ini.Read("Col28", "ColFCT82T"), "" },
            { ini.Read("Col29", "ColFCT82T"), "" },
            { ini.Read("Col30", "ColFCT82T"), "" },
            { ini.Read("Col31", "ColFCT82T"), "" },
            { ini.Read("Col32", "ColFCT82T"), "" },
            { ini.Read("Col33", "ColFCT82T"), "" },
            { ini.Read("Col34", "ColFCT82T"), "" },
            { ini.Read("Col35", "ColFCT82T"), "" },
            { ini.Read("Col36", "ColFCT82T"), "" },
            { ini.Read("Col37", "ColFCT82T"), "" },
            { ini.Read("Col38", "ColFCT82T"), "" },
            { ini.Read("Col39", "ColFCT82T"), "" },
            { ini.Read("Col40", "ColFCT82T"), "" },
            { ini.Read("Col41", "ColFCT82T"), "" },
            { ini.Read("Col42", "ColFCT82T"), "" },
            { ini.Read("Col43", "ColFCT82T"), "" },
            { ini.Read("Col44", "ColFCT82T"), "" },
            { ini.Read("Col45", "ColFCT82T"), "" },
            { ini.Read("Col46", "ColFCT82T"), "" },
            { ini.Read("Col47", "ColFCT82T"), "" },
            { ini.Read("Col48", "ColFCT82T"), "" },
            { ini.Read("Col49", "ColFCT82T"), "" },
            { ini.Read("Col50", "ColFCT82T"), "" },
            { ini.Read("Col51", "ColFCT82T"), "" },
            { ini.Read("Col52", "ColFCT82T"), "" },
            { ini.Read("Col53", "ColFCT82T"), "" },
            { ini.Read("Col54", "ColFCT82T"), "" },
            { ini.Read("Col55", "ColFCT82T"), "" },
            { ini.Read("Col56", "ColFCT82T"), "" },
            { ini.Read("Col57", "ColFCT82T"), "" },
            { ini.Read("Col58", "ColFCT82T"), "" },
            { ini.Read("Col59", "ColFCT82T"), "" },
            { ini.Read("Col60", "ColFCT82T"), "" },
            { ini.Read("Col61", "ColFCT82T"), "" },
            { ini.Read("Col62", "ColFCT82T"), "" },
            { ini.Read("Col63", "ColFCT82T"), "" },
            { ini.Read("Col64", "ColFCT82T"), "" },
            { ini.Read("Col65", "ColFCT82T"), "" },
            { ini.Read("Col66", "ColFCT82T"), "" },
            { ini.Read("Col67", "ColFCT82T"), "" },
            { ini.Read("Col68", "ColFCT82T"), "" },
            { ini.Read("Col69", "ColFCT82T"), "" },
            { ini.Read("Col70", "ColFCT82T"), "" },
            { ini.Read("Col71", "ColFCT82T"), "" },

            //{ "part_no0", "" },
            //{ "part_no1", "" },
            //{ "part_no2", "" },
            //{ "part_name", "" },
            //{ "drawing_part_name", "" },
            //{ "model_material_size", "" },
            //{ "asset_classification", "" },
            //{ "hl_dwg_no_pi", "" },
            //{ "part_color_no", "" },
            //{ "item_type", "" },
            //{ "arrangement_division", "" },
            //{ "order_plan_code", "" },
            //{ "day_of_the_week", "" },
            //{ "sum_qty", "" },
            //{ "sum_period", "" },
            //{ "s_stock_for_mpr", "" },
            //{ "safety_lt", "" },
            //{ "standard_stock_div", "" },
            //{ "standard_stock", "" },
            //{ "max_order_qty_adv", "" },
            //{ "min_order_qty_pur", "" },
            //{ "day_of_week_pur", "" },

            //{ "sum_qty_pur", "" },
            //{ "sum_period_pur", "" },
            //{ "item_lt_pur", "" },
            //{ "safety_lt_pur", "" },
            //{ "warehouse1", "" },
            //{ "warehouse2", "" },
            //{ "warehouse3", "" },
            //{ "stock_unit_name", "" },
            //{ "storage_division", "" },
            //{ "inv_unit", "" },
            //{ "inv_coefficient", "" },
            //{ "provision_class", "" },
            //{ "order_cycle", "" },
            //{ "work_remit_style", "" },
            //{ "lot_management_flag", "" },
            //{ "item_division", "" },
            //{ "individual_order_div", "" },
            //{ "type1_2_div", "" },
            //{ "important_part_division", "" },
            //{ "comment", "" },
            //{ "effective_date", "" },
            //{ "expiration_date", "" },

            //{ "key_type", "" },
            //{ "model_number", "" },
            //{ "supplier_code1", "" },
            //{ "supplier_code2", "" },
            //{ "supplier_code3", "" },
            //{ "supplier_code4", "" },
            //{ "supplier_code5", "" },
            //{ "purchase_conv_factor1", "" },
            //{ "purchase_conv_factor2", "" },
            //{ "purchase_conv_factor3", "" },
            //{ "purchase_conv_factor4", "" },
            //{ "purchase_conv_factor5", "" },
            //{ "qc_check", "" },
            //{ "create_date", "" },
            //{ "update_date", "" },
            //{ "create_time", "" },
            //{ "update_time", "" },
            //{ "update_userid", "" },
            //{ "update_wsid", "" },
            //{ "create_userid", "" },
            //{ "last_transfer_date", "" },
            //{ "last_transfer_time", "" },

            //{ "filename", "" },
            //{ "create_dt", "" },
            //{ "create_user_id", "" },
            //{ "update_dt", "" },
            //{ "update_user_id", "" },

        };
        public override string __TABLE { get { return TABLE; } }
        public override Dictionary<string, object> __COLUMNS { get { return COLUMNS; } set { COLUMNS = value; } }

    }
}
