Type
type Setting
Configuration file
declared
- none - No type declarations
- type - Type declaration with type (default)
If only zodSchema is needed, use none.
format
Specifies the format of the Type name.
- camel - camel case
- pascal - pascal case (default)
- snake - snake case
- original - Use the original table name as it is
prefix
A string to be prepended to the type name. (Default is an empty string)
suffix
A string to be given after the type name. (Default is an empty string)
replacements
Performs type name substitution.
Specify the string before and after the substitution in string[][]
format. (Multiple specifications are allowed.) (Default is an empty array.)
Conversion Procedure
The tableName is converted by the following procedure.
- replacements
- format
- prefix
- suffix
example setting
If the above settings are used, the following conversions will occur.
- replacements convert
to
totask
. - replacements convert
do
toName
. - format convert
taskName
totask_name
. - prefix and suffix generate
aaatask_namebbb
.