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

namespace lib.model
{
    internal class ImportMRPfactory : DbTableMRPfactory
    {
        private static IniFile ini = new IniFile("Linkage_data.ini");
        private static string strTableName = ini.Read("FCT80T", "Table");
        private readonly string TABLE = strTableName; //"ImportMRPfactory";
        
        private Dictionary<string, object> COLUMNS = new Dictionary<string, object>()
        {
            { ini.Read("Col1", "ColFCT80T"), "" },
            { ini.Read("Col2", "ColFCT80T"), "" },
            { ini.Read("Col3", "ColFCT80T"), "" },
            { ini.Read("Col4", "ColFCT80T"), "" },
            { ini.Read("Col5", "ColFCT80T"), "" },
            { ini.Read("Col6", "ColFCT80T"), "" },
            { ini.Read("Col7", "ColFCT80T"), "" },
            { ini.Read("Col8", "ColFCT80T"), "" },
            { ini.Read("Col9", "ColFCT80T"), "" },
            { ini.Read("Col10", "ColFCT80T"), "" },
            { ini.Read("Col11", "ColFCT80T"), "" },
            { ini.Read("Col12", "ColFCT80T"), "" },
            { ini.Read("Col13", "ColFCT80T"), "" },
            { ini.Read("Col14", "ColFCT80T"), "" },
            { ini.Read("Col15", "ColFCT80T"), "" },
            { ini.Read("Col16", "ColFCT80T"), "" },
            { ini.Read("Col17", "ColFCT80T"), "" },
            { ini.Read("Col18", "ColFCT80T"), "" },
            { ini.Read("Col19", "ColFCT80T"), "" },
            { ini.Read("Col20", "ColFCT80T"), "" },
            { ini.Read("Col21", "ColFCT80T"), "" },

            //{ "factory_code", "" },
            //{ "factory_name", "" },
            //{ "factory_abbreviation_name", "" },
            //{ "factory_division", "" },
            //{ "customer_code", "" },
            //{ "factory_classification", "" },
            //{ "product_label_factory_sign", "" },
            //{ "last_update_day", "" },
            //{ "last_update_time", "" },
            //{ "last_renewer_id", "" },
            //{ "update_wsid", "" },
            //{ "maker_date", "" },
            //{ "creation_time", "" },
            //{ "maker_id", "" },
            //{ "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; } }
    }
}
