add autocomplete for model class field

Should detect if `tableName` contains `*` because it is possible `tableName` is something like `tbl_*`.