jersey2-v3template.model.mustache Maven / Gradle / Ivy
{{>licenseInfo}}
package {{package}};
{{#useReflectionEqualsHashCode}}
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
{{/useReflectionEqualsHashCode}}
import java.util.Objects;
import java.util.Arrays;
{{#imports}}
import {{import}};
{{/imports}}
{{#serializableModel}}
import java.io.Serializable;
{{/serializableModel}}
import com.fasterxml.jackson.annotation.*;
import io.swagger.annotations.ApiModelProperty;
{{#withXml}}
import javax.xml.bind.annotation.*;
{{/withXml}}
import javax.validation.constraints.*;
import javax.validation.Valid;
/*
import org.hibernate.validator.constraints.*;
*/
{{#models}}
{{#model}}
{{#isEnum}}{{>modelEnum}}{{/isEnum}}{{^isEnum}}{{>pojo}}{{/isEnum}}
{{/model}}
{{/models}}