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

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

        private Dictionary<string, object> COLUMNS = new Dictionary<string, object>()
        {
            { ini.Read("Col1", "ColFCT84T"), "" },
            { ini.Read("Col2", "ColFCT84T"), "" },
            { ini.Read("Col3", "ColFCT84T"), "" },
            { ini.Read("Col4", "ColFCT84T"), "" },
            { ini.Read("Col5", "ColFCT84T"), "" },
            { ini.Read("Col6", "ColFCT84T"), "" },
            { ini.Read("Col7", "ColFCT84T"), "" },
            { ini.Read("Col8", "ColFCT84T"), "" },
            { ini.Read("Col9", "ColFCT84T"), "" },
            { ini.Read("Col10", "ColFCT84T"), "" },
            { ini.Read("Col11", "ColFCT84T"), "" },
            { ini.Read("Col12", "ColFCT84T"), "" },
            { ini.Read("Col13", "ColFCT84T"), "" },
            { ini.Read("Col14", "ColFCT84T"), "" },
            { ini.Read("Col15", "ColFCT84T"), "" },
            { ini.Read("Col16", "ColFCT84T"), "" },
            { ini.Read("Col17", "ColFCT84T"), "" },
            { ini.Read("Col18", "ColFCT84T"), "" },
            { ini.Read("Col19", "ColFCT84T"), "" },
            { ini.Read("Col20", "ColFCT84T"), "" },
            { ini.Read("Col21", "ColFCT84T"), "" },
            { ini.Read("Col22", "ColFCT84T"), "" },
            { ini.Read("Col23", "ColFCT84T"), "" },
            { ini.Read("Col24", "ColFCT84T"), "" },
            { ini.Read("Col25", "ColFCT84T"), "" },
            { ini.Read("Col26", "ColFCT84T"), "" },
            { ini.Read("Col27", "ColFCT84T"), "" },
            { ini.Read("Col28", "ColFCT84T"), "" },
            { ini.Read("Col29", "ColFCT84T"), "" },
            { ini.Read("Col30", "ColFCT84T"), "" },
            { ini.Read("Col31", "ColFCT84T"), "" },
            { ini.Read("Col32", "ColFCT84T"), "" },
            { ini.Read("Col33", "ColFCT84T"), "" },
            { ini.Read("Col34", "ColFCT84T"), "" },
            { ini.Read("Col35", "ColFCT84T"), "" },
            { ini.Read("Col36", "ColFCT84T"), "" },
            { ini.Read("Col37", "ColFCT84T"), "" },
            { ini.Read("Col38", "ColFCT84T"), "" },
            { ini.Read("Col39", "ColFCT84T"), "" },
            { ini.Read("Col40", "ColFCT84T"), "" },
            { ini.Read("Col41", "ColFCT84T"), "" },
            { ini.Read("Col42", "ColFCT84T"), "" },
            { ini.Read("Col43", "ColFCT84T"), "" },
            { ini.Read("Col44", "ColFCT84T"), "" },
            { ini.Read("Col45", "ColFCT84T"), "" },
            { ini.Read("Col46", "ColFCT84T"), "" },
            { ini.Read("Col47", "ColFCT84T"), "" },
            { ini.Read("Col48", "ColFCT84T"), "" },
            
            //{ "order_no", "" },
            //{ "factory_division", "" },
            //{ "order_deadline_code", "" },
            //{ "complete_code", "" },
            //{ "order_situation_code", "" },
            //{ "product_no", "" },
            //{ "part_no0", "" },
            //{ "part_no1", "" },
            //{ "part_no2", "" },
            //{ "part_name", "" },
            //{ "item_type", "" },
            //{ "item_division", "" },
            //{ "arrangement_division", "" },
            //{ "inspection_division", "" },
            //{ "item_lt", "" },
            //{ "safety_lt", "" },
            //{ "add_emergency_div", "" },
            //{ "hl_dwg_no1", "" },
            //{ "hl_dwg_no2", "" },
            //{ "hl_dwg_no3", "" },
            //{ "hl_dwg_no4", "" },
            //{ "hl_dwg_no5", "" },

            //{ "model_material_size", "" },
            //{ "stock_unit_name", "" },
            //{ "purchasing_unit_name", "" },
            //{ "purchase_convert_div", "" },
            //{ "supplier_code", "" },
            //{ "order_issue_date", "" },
            //{ "order_start_date", "" },
            //{ "order_delivery_date", "" },
            //{ "order_qty_pur_unit", "" },
            //{ "order_qty_stk_unit", "" },
            //{ "necessary_date", "" },
            //{ "warehouse_code1_plan", "" },
            //{ "warehouse_code2_plan", "" },
            //{ "warehouse_code3_plan", "" },
            //{ "slip_issue_date", "" },
            //{ "comment_flag", "" },
            //{ "mgt_no", "" },
            //{ "update_date", "" },
            //{ "update_time", "" },
            //{ "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; } }

    }
}
