package com.github.nylle.javafixture.testobjects;


import javax.persistence.Column;
import javax.validation.constraints.Size;

public class TestObjectWithJavaxValidationAnnotations {
    @Size(min = 3, max = 6)
    private String withMinMaxAnnotation;

    @Size(min = 5)
    private String withMinAnnotation;

    @Size(max = 100)
    private String withMaxAnnotation;

    @Column(length = 5)
    private String withColumnLengthAnnotation;

    @Size(max = 100)
    @Column(length = 5)
    private String withColumnLengthAnnotationAndMaxAnnotation;

    public String getWithMinMaxAnnotation() {
        return withMinMaxAnnotation;
    }

    public String getWithMinAnnotation() {
        return withMinAnnotation;
    }

    public String getWithMaxAnnotation() {
        return withMaxAnnotation;
    }

    public String getWithColumnLengthAnnotation() {
        return withColumnLengthAnnotation;
    }

    public String getWithColumnLengthAnnotationAndMaxAnnotation() {
        return withColumnLengthAnnotationAndMaxAnnotation;
    }
}

@@ -501,36 +501,27 @@
  String with
-ColumnLength
+Max
 AnnotationAn
@@ -513,35 +513,44 @@
 MaxAnnotationAnd
-Max
+ColumnLength
 Annotation;%0A%0A   
@@ -989,36 +989,27 @@
  return with
-ColumnLength
+Max
 AnnotationAn
@@ -1001,35 +1001,44 @@
 MaxAnnotationAnd
-Max
+ColumnLength
 Annotation;%0A    

rename field to match order