26 lines
1003 B
Twig
26 lines
1003 B
Twig
{%- set hasParent = parent is not null -%}
|
|
/**
|
|
* This code is autogenerated by Touch Instinct tools
|
|
*/
|
|
package TODO;
|
|
|
|
import com.bluelinelabs.logansquare.annotation.JsonObject;
|
|
|
|
import ru.touchin.templates.logansquare.LoganSquareJsonModel;
|
|
|
|
/**
|
|
* {{ description }}
|
|
*/
|
|
@JsonObject(serializeNullObjects = true)
|
|
public class {% include 'blocks/class/classtype.twig' with { type: type } %} extends {% include 'blocks/class/supertype.twig' with { type: type, parent: parent } %} {
|
|
{% include 'blocks/class/fields.twig' with { fields: fields } %}
|
|
public {{ type.baseTypeName }}() {
|
|
super();
|
|
}
|
|
{% if (allFieldsOrdered is not empty) %}
|
|
public {{ type.baseTypeName }}({%- include 'blocks/class/init-parameters-fields.twig' with { fields: allFieldsOrdered } -%}) {
|
|
super({%- include 'blocks/class/fields-super-initialization.twig' with { fields: superclassesFields } -%});
|
|
{%- include 'blocks/class/fields-initialization.twig' with { fields: fields } %}
|
|
}
|
|
{% endif %}
|
|
} |