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

namespace CSProject
{
    public class Struct
    {
        // db connection info
        public struct ConnStc
        {
            public string ip;
            public string port;
            public string dbname;
            public string username;
            public string password;
        }

        // user command info
        public struct CommandStc
        {
            public string command;
            public string schema;
            public string table;
            public int startnum;
            public int endnum;
        }

        // column info
        public struct ColStc
        {
            public string colmn_name;
            public string colmn_type;
            public int colmn_length;
            public string colmn_pkYn;   // pk 여부
        }

        public struct DefStc
        {
            public string schema;
            public string table;
            public List<ColStc> colList;
        }

        // row data info
        //public struct DataStc
        //{
        //    public string col_name;
        //    public string col_data;
        //}
    }
}
