All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ktorm-schema.data_class_enum_opt.mustache Maven / Gradle / Ivy

There is a newer version: 7.9.0
Show newest version
{{#deprecated}}    @Deprecated(message = "This property is deprecated.")
{{/deprecated}}{{#vendorExtensions}}{{#x-ktorm-schema}}{{#columnDefinition}}    val {{{name}}} = {{{colType}}}("{{{colName}}}").transform({ {{{classname}}}.{{{nameInCamelCase}}}.valueOf(it ?: {{#allowableValues}}{{#enumVars}}{{#-first}}{{{value}}}{{/-first}}{{/enumVars}}{{/allowableValues}}) }, { it.value }) /* null */{{/columnDefinition}}{{/x-ktorm-schema}}{{/vendorExtensions}}{{#description}} /* {{{.}}} */{{/description}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy