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

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

        private Dictionary<string, object> COLUMNS = new Dictionary<string, object>()
        {
            { ini.Read("Col1", "ColFCT81T"), "" },
            { ini.Read("Col2", "ColFCT81T"), "" },
            { ini.Read("Col3", "ColFCT81T"), "" },
            { ini.Read("Col4", "ColFCT81T"), "" },
            { ini.Read("Col5", "ColFCT81T"), "" },
            { ini.Read("Col6", "ColFCT81T"), "" },
            { ini.Read("Col7", "ColFCT81T"), "" },
            { ini.Read("Col8", "ColFCT81T"), "" },
            { ini.Read("Col9", "ColFCT81T"), "" },
            { ini.Read("Col10", "ColFCT81T"), "" },
            { ini.Read("Col11", "ColFCT81T"), "" },
            { ini.Read("Col12", "ColFCT81T"), "" },
            { ini.Read("Col13", "ColFCT81T"), "" },
            { ini.Read("Col14", "ColFCT81T"), "" },
            { ini.Read("Col15", "ColFCT81T"), "" },
            { ini.Read("Col16", "ColFCT81T"), "" },
            { ini.Read("Col17", "ColFCT81T"), "" },
            { ini.Read("Col18", "ColFCT81T"), "" },
            { ini.Read("Col19", "ColFCT81T"), "" },
            { ini.Read("Col20", "ColFCT81T"), "" },
            { ini.Read("Col21", "ColFCT81T"), "" },
            { ini.Read("Col22", "ColFCT81T"), "" },

            //{ "customer_code", "" },
            //{ "person_in_charge_name", "" },
            //{ "section_in_charge_name", "" },
            //{ "telephone_no", "" },
            //{ "fax_no", "" },
            //{ "ordering_cycle", "" },
            //{ "supplyer_code", "" },
            //{ "supplyer_name", "" },
            //{ "last_update_day", "" },
            //{ "last_update_time", "" },
            //{ "last_renewer_id", "" },
            //{ "update_wsid", "" },
            //{ "maked_date", "" },
            //{ "maked_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; } }
    }
}
