api-generator-templates/KotlinServer/Class.java.twig

20 lines
852 B
Twig

/*
* This code is autogenerated by Touch Instinct tools
*/
package {{ packageName }}.api
import com.fasterxml.jackson.annotation.JsonInclude
import java.math.BigDecimal
import org.joda.time.DateTime //TODO update
{%- if (description is not empty) %}
/**
* {{ description }}
*/
{%- endif %}
open class {% include 'blocks/class/classtype.twig' with { type: type } %} (
{%- include 'blocks/class/constructor-fields-info.twig' with { fields: superclassesFields, includeVal: false, addCommaAtTheEnd: (fields is not empty) } %}
{%- include 'blocks/class/constructor-fields-info.twig' with { fields: fields, includeVal: true, addComma: false } %}
){% include 'blocks/class/supertype.twig' with { type: type, parent: parent } %} {%- include 'blocks/class/fields-super-initialization.twig' with { fields: superclassesFields } -%}