#---------------------Database settings---------------------
#DB_HOST - Database server name or ip-address. Only Postgres SQL
DB_HOST=

#DB_NAME - Database table name
DB_NAME=

#DB_SCHEME - Database schema name
DB_SCHEME=

#DB_PORT - Database port number
DB_PORT=

#DB_USER - Database login (user)
DB_USER=

#DB_PASSWORD - Database login password
DB_PASSWORD=

#INCLUDE_TABLES - table name filter. Regular expression
INCLUDE_TABLES=""

#INCLUDE_TABLES - table name ignore filter. Regular expression
EXCLUDE_TABLES="ext_"

#SINGULAR_TABLE_NAMES: true = table names will be not renamed to plural name
SINGULAR_TABLE_NAMES=true

#---------------------Template settings---------------------

#SERVICE_REPOSITORY_URL - URL of your new service repository (Github, gitlab, etc.)
SERVICE_REPOSITORY_URL="gitlab.aescorp.ru/dsp_dev/claim/crud_service"

#SERVICE_NAME - service name for your new service
SERVICE_NAME=crud_service

#TEMPLATE_SERVICE_NAME - service name in your template files
TEMPLATE_SERVICE_NAME=sync_service

#TEMPLATE_REPOSITORY_URL - repository URL in template files
TEMPLATE_REPOSITORY_URL="gitlab.aescorp.ru/dsp_dev/claim/sync_service"

#same folder names uses for read template files and create new files
#TEMPLATE_FOLDERNAME - filder name in your computer with templates
TEMPLATE_FOLDERNAME="templates"

#TEMPLATE_FOLDERNAME_MAIN - folder name for create models (golang struct with all table fields)
TEMPLATE_FOLDERNAME_MAIN="cmd"

#TEMPLATE_FOLDERNAME_MODEL - folder name for create models (golang struct with all table fields)
TEMPLATE_FOLDERNAME_MODEL="pkg/object_model/entities"

#TEMPLATE_FOLDERNAME_DB - folder name for create database crud operations
TEMPLATE_FOLDERNAME_CRUD="pkg/db/crud"

#TEMPLATE_FOLDERNAME_TABLES - folder name for create database tables models
TEMPLATE_FOLDERNAME_TABLES="pkg/db/tables"

#TEMPLATE_FOLDERNAME_DB - folder name for create db
TEMPLATE_FOLDERNAME_DB="pkg/db"

#TEMPLATE_FOLDERNAME_GRPC - folder name for create .proto file
TEMPLATE_FOLDERNAME_GRPC_PROTO="api"

#TEMPLATE_FOLDERNAME_GRPC - folder name for grpc
TEMPLATE_FOLDERNAME_GRPC="pkg/network/grpc"

#TEMPLATE_FOLDERNAME_GRPC_SERVER - filder name for create grpc server files
TEMPLATE_FOLDERNAME_GRPC_SERVER="internal/app/grpc/server_grpc"

#TEMPLATE_FOLDERNAME_GRPC_CLIENT - folder name for create grpc client files
TEMPLATE_FOLDERNAME_GRPC_CLIENT="pkg/network/grpc/grpc_client"

#TEMPLATE_FOLDERNAME_NRPC_SERVER - folder name for create nrpc server files
TEMPLATE_FOLDERNAME_NRPC_SERVER="internal/app/nrpc/server_nrpc"

#TEMPLATE_FOLDERNAME_NRPC - folder name for create common nrpc files
TEMPLATE_FOLDERNAME_NRPC="pkg/network/nrpc"

#TEMPLATE_FOLDERNAME_NRPC_CLIENT - foldr name for create nrpc client files
TEMPLATE_FOLDERNAME_NRPC_CLIENT="pkg/network/nrpc/nrpc_client"

#TEMPLATE_FOLDERNAME_GRPC_NRPC - folder name for create grpc_nrpc.go file
TEMPLATE_FOLDERNAME_GRPC_NRPC="pkg/network/grpc_nrpc"

#TEMPLATE_FOLDERNAME_CRUD_STARTER - folder name for create crud_starter.go file
TEMPLATE_FOLDERNAME_CRUD_STARTER="pkg/crud_starter"

#TEMPLATE_FOLDERNAME_ALIAS - folder name for create alias.go file, with go types with aliases
TEMPLATE_FOLDERNAME_ALIAS="pkg/object_model/types/alias"

#TEMPLATE_FOLDER_CRUD_FUNCTIONS - folder name for create crud_functions.go file
TEMPLATE_FOLDER_CRUD_FUNCTIONS="pkg/db/crud_functions"

#TEXT_TEMPLATE_MODEL - model name text in templates, for replace to new model names
TEXT_TEMPLATE_MODEL="LawsuitStatusType"

#TEXT_TEMPLATE_TABLENAME - table name text in templates, for replace to new table names
TEXT_TEMPLATE_TABLENAME="lawsuit_status_types"

#USE_DEFAULT_TEMPLATE - "true" will do default text replaces. "false" - for use own templates
USE_DEFAULT_TEMPLATE=true

#HAS_IS_DELETED - fill "true" if you have "is_deleted" column, and want Delete() Restore() functions.
HAS_IS_DELETED=true

#TEMPLATE_EXTERNAL_PROTO_FILENAME - can fill real .proto file full filename with folder, from external real project - for use as template
TEMPLATE_EXTERNAL_PROTO_FILENAME=/home/user/GolandProjects/!sanek/sync_service/api/sync_service.proto

#---------------------Create files settings---------------------

#NEED_CREATE_MODEL_STRUCT - fill "true" if you want create model files with golang struct with all database fields
NEED_CREATE_MODEL_STRUCT=true

#NEED_CREATE_MANUAL_FILES - fill "true" if you want create "_manual.go" files, intended for user manual changes
NEED_CREATE_MANUAL_FILES=true

#NEED_CREATE_CRUD - fill "true" if you want create crud operations files
NEED_CREATE_CRUD=true

#NEED_CREATE_GRPC - fill "true" if you want create grpc operations files
NEED_CREATE_GRPC=true

#NEED_CREATE_NRPC - fill "true" if you want create nrpc operations files (need NATS message query server)
NEED_CREATE_NRPC=true

#NEED_CREATE_MODEL_CRUD - fill "true" if you want create crud operations in model files
NEED_CREATE_MODEL_CRUD=true

#NEED_CREATE_DB_TEST - fill "true" if you want create DB _test.go files
NEED_CREATE_DB_TEST=true

#NEED_CREATE_DB - fill "true" if you want create DB .go files
NEED_CREATE_DB=true

#NEED_CREATE_DB_TABLES - fill "true" if you want create DB .go files
NEED_CREATE_DB_TABLES=true

#NEED_CREATE_GRPC_SERVER_TEST - fill "true" if you want create GRPC server _test.go files
NEED_CREATE_GRPC_SERVER_TEST=true

#NEED_CREATE_GRPC_CLIENT_TEST - fill "true" if you want create GRPC client _test.go files
NEED_CREATE_GRPC_CLIENT_TEST=true

#NEED_CREATE_NRPC_SERVER_TEST - fill "true" if you want create NRPC server _test.go files
NEED_CREATE_NRPC_SERVER_TEST=true

#NEED_CREATE_NRPC_CLIENT_TEST - fill "true" if you want create NRPC client _test.go files
NEED_CREATE_NRPC_CLIENT_TEST=true

#PREFIX_SERVER_GRPC - filename prefix for grpc server files
PREFIX_SERVER_GRPC="server_grpc_"

#PREFIC_CRUD - filename prefix for crud database files
PREFIX_CRUD="crud_"

#PREFIX_TABLE - filename prefix for database table model files
PREFIX_TABLE="table_"

#PREFIX_MODEL - filename prefix for view model files
PREFIX_MODEL=""

#PREFIX_CLIENT_GRPC - filename prefix for grpc client files
PREFIX_CLIENT_GRPC="grpc_"

#COMMENT_MODEL_STRUCT - fill comments to every model structure
COMMENT_MODEL_STRUCT="модель для таблицы "

#TEXT_MODULE_GENERATED - comment text for every module file
TEXT_MODULE_GENERATED="//Файл создан автоматически кодогенератором crud_generator\n//Не изменяйте ничего здесь.\n\n"

#TEMPLATES_ALIAS_FILENAME - short filename of "alias.go_" file
TEMPLATES_ALIAS_FILENAME="alias.go_"

#READY_ALIAS_FILENAME - short filename of "alias.go" file
READY_ALIAS_FILENAME="alias.go"

#TEMPLATES_CRUD_FILENAME - short filename of "crud_tables.go_" file
TEMPLATES_CRUD_FILENAME="crud_tables_rapira.go_"

#TEMPLATES_CRUD_TEST_FILENAME - short filename of "crud_tables_test.go_" file
TEMPLATES_CRUD_TEST_FILENAME="crud_tables_rapira_test.go_"

#NEED_CREATE_UPDATE_EVERY_COLUMN - fill true if you want create Update_ColumnName() function for every column
NEED_CREATE_UPDATE_EVERY_COLUMN=true

#TEMPLATES_CRUD_TABLE_UPDATE_FUNC_FILENAME - short filename of "crud_table_update_func.go_" file
TEMPLATES_CRUD_TABLE_UPDATE_FUNC_FILENAME="crud_table_update_func.go_"

#TEMPLATES_CRUD_TABLE_UPDATE_FUNC_TEST_FILENAME - short filename of "crud_table_update_func_test.go_" file
TEMPLATES_CRUD_TABLE_UPDATE_FUNC_TEST_FILENAME="crud_table_update_func_test.go_"

#TEMPLATES_CONVERT_ID_FILENAME - short filename of "convert_id.json" file
TEMPLATES_CONVERT_ID_FILENAME="convert_id.json"

#TEMPLATES_CRUD_FUNCTIONS_RENAME_FILENAME - short filename of "crud_functions_rename.json" file
TEMPLATES_CRUD_FUNCTIONS_RENAME_FILENAME="crud_functions_rename.json"

#TEMPLATES_MODEL_CRUD_DELETE_FUNCTIONS_FILENAME - short filename of "model_crud_delete_functions.json" file
TEMPLATES_MODEL_CRUD_DELETE_FUNCTIONS_FILENAME="model_crud_delete_functions.json"

#TEMPLATES_NAME_REPLACE_FILENAME - short filename of "name_replace.json" file
TEMPLATES_NAME_REPLACE_FILENAME="name_replace.json"

#TEMPLATES_NULLABLE_FILENAME - short filename of "nullable.json" file
TEMPLATES_NULLABLE_FILENAME="nullable.json"

#TEMPLATES_CRUD_TABLE_UPDATE_FILENAME - short filename of "crud_table_update.go_" file
TEMPLATES_CRUD_TABLE_UPDATE_FILENAME="crud_table_update.go_"

#TEMPLATES_CRUD_TABLE_UPDATE_TEST_FILENAME - short filename of "crud_table_update_test.go_" file
TEMPLATES_CRUD_TABLE_UPDATE_TEST_FILENAME="crud_table_update_test.go_"

#TEMPLATES_GRPC_CLIENT_TABLE_UPDATE_FILENAME - short filename of "grpc_client_table_update.go_" file
TEMPLATES_GRPC_CLIENT_TABLE_UPDATE_FILENAME="grpc_client_table_update.go_"

#TEMPLATES_GRPC_CLIENT_TABLE_UPDATE_TEST_FILENAME - short filename of "grpc_client_table_update_test.go_" file
TEMPLATES_GRPC_CLIENT_TABLE_UPDATE_TEST_FILENAME="grpc_client_table_update_test.go_"

#TEMPLATES_GRPC_SERVER_TABLE_UPDATE_FILENAME - short filename of "server_grpc_table_update.go_" file
TEMPLATES_GRPC_SERVER_TABLE_UPDATE_FILENAME="server_grpc_table_update.go_"

#TEMPLATES_GRPC_SERVER_TABLE_UPDATE_TEST_FILENAME - short filename of "server_grpc_table_update_test.go_" file
TEMPLATES_GRPC_SERVER_TABLE_UPDATE_TEST_FILENAME="server_grpc_table_update_test.go_"

#NEED_CREATE_CACHE_FUNCTIONS - need create ReadFromCache() .proto API
NEED_CREATE_CACHE_API=true

#NEED_CREATE_CACHE_FILES - need create "*_cache.go" files
NEED_CREATE_CACHE_FILES=true

#NEED_CREATE_CACHE_TEST_FILES - need create "*_cache_test.go" files
NEED_CREATE_CACHE_TEST_FILES=true

#TEMPLATES_GRPC_CLIENT_TABLES_CACHE_FILENAME - short filename of "grpc_client_table_cache.go_" file
TEMPLATES_GRPC_CLIENT_TABLES_CACHE_FILENAME="grpc_client_table_cache.go_"

#TEMPLATES_GRPC_CLIENT_TABLES_CACHE_TEST_FILENAME - short filename of "grpc_client_table_cache_test.go_" file
TEMPLATES_GRPC_CLIENT_TABLES_CACHE_TEST_FILENAME="grpc_client_table_cache_test.go_"

#CACHE_ELEMENTS_COUNT_MAX - maximum elements counts in cache, for every table
CACHE_ELEMENTS_COUNT_MAX=1000

#TEMPLATES_README_MD_FILENAME - short filename of "README.md_" file
TEMPLATES_README_MD_FILENAME="README.md_"

#TEMPLATES_README_RUS_FILENAME - short filename of "readme.rus_" file
TEMPLATES_README_RUS_FILENAME="readme.rus_"

#TEMPLATE_FOLDERNAME_CONSTANTS - folder name for service constants
TEMPLATE_FOLDERNAME_CONSTANTS="pkg/constants"

#TEMPLATES_CONSTANTS_FILENAME - short filename of "constants.go_" file
TEMPLATES_CONSTANTS_FILENAME="constants.go_"