39 tbl[i].column_name =
"cash_flow_id";
40 tbl[i].post_code =
"cid";
41 tbl[i].placeholder =
"";
42 tbl[i].col_type =
'i';
43 tbl[i].input_type =
"hidden";
46 tbl[i].column_name =
"investor";
47 tbl[i].post_code =
"iid";
48 tbl[i].placeholder =
"";
49 tbl[i].col_type =
'i';
50 tbl[i].input_type =
"hidden";
51 defList[tbl[i].column_name] = i;
53 tbl[i].column_name =
"description";
54 tbl[i].post_code =
"desc";
55 tbl[i].label =
"Description";
56 tbl[i].placeholder =
"describe the cash_flow in your own words";
57 tbl[i].col_type =
's';
58 tbl[i].input_type =
"text";
59 defList[tbl[i].column_name] = i;
61 tbl[i].column_name =
"amount";
62 tbl[i].post_code =
"amt";
63 tbl[i].label =
"Amount";
64 tbl[i].placeholder =
"10000";
65 tbl[i].col_type =
'f';
66 tbl[i].input_type =
"number";
67 defList[tbl[i].column_name] = i;
69 tbl[i].column_name =
"currency";
70 tbl[i].post_code =
"curr";
71 tbl[i].label =
"Currency";
72 tbl[i].placeholder =
"5000";
73 tbl[i].col_type =
's';
74 tbl[i].input_type =
"dropDown";
76 tbl[i].drop_down_keyField =
"currency_id";
77 tbl[i].drop_down_keyFieldQuote =
"'";
78 tbl[i].drop_down_showField =
"currency_id";
79 tbl[i].drop_down_default =
"EUR";
80 defList[tbl[i].column_name] = i;
82 tbl[i].column_name =
"from_date";
83 tbl[i].post_code =
"fdt";
84 tbl[i].label =
"From Date";
85 tbl[i].placeholder =
"2025-12-25";
86 tbl[i].col_type =
'd';
87 tbl[i].input_type =
"date";
88 defList[tbl[i].column_name] = i;
90 tbl[i].column_name =
"till_date";
91 tbl[i].post_code =
"tdt";
92 tbl[i].label =
"Till Date";
93 tbl[i].placeholder =
"2030-12-25";
94 tbl[i].col_type =
'd';
95 tbl[i].input_type =
"date";
96 defList[tbl[i].column_name] = i;
98 tbl[i].column_name =
"frequency";
99 tbl[i].post_code =
"freq";
100 tbl[i].label =
"Frequency";
101 tbl[i].placeholder =
"";
102 tbl[i].col_type =
's';
103 tbl[i].input_type =
"dropDown";
105 tbl[i].drop_down_keyField =
"frequency_id";
106 tbl[i].drop_down_keyFieldQuote =
"'";
107 tbl[i].drop_down_showField =
"frequency_name";
108 tbl[i].drop_down_default =
"M";
109 defList[tbl[i].column_name] = i;
const string tbl_prefix
tables start with "" + oConfig.tbl_prefix + "_" if the prefix is eg. "tbl" then we have "tbl_invesotr...
std::map< int, column > tbl
std::map< string, int > defList
list holding the column names in the table connected to the correct id of the column ...
config oConfig
mysql connection mysql connector from dev.mysql.com