// Path: src/main/java/com/aemreunal/helper/ImageProperties.java
// public class ImageProperties {
//     private final String imageFileName;
//     private final int    imageWidth;
//     private final int    imageHeight;
// 
//     public ImageProperties(String imageFileName, int imageWidth, int imageHeight) {
//         this.imageFileName = imageFileName;
//         this.imageWidth = imageWidth;
//         this.imageHeight = imageHeight;
//     }
// 
//     public String getImageFileName() {
//         return imageFileName;
//     }
// 
//     public int getImageWidth() {
//         return imageWidth;
//     }
// 
//     public int getImageHeight() {
//         return imageHeight;
//     }
// }
// 
// Path: src/main/java/com/aemreunal/helper/json/JsonBuilderFactory.java
// public class JsonBuilderFactory {
//     public static JsonObjectBuilder object() {
//         return new JsonObjectBuilder();
//     }
// 
//     public static JsonArrayBuilder array() {
//         return new JsonArrayBuilder();
//     }
// }


import net.minidev.json.JSONObject;
import java.io.Serializable;
import java.util.Date;
import java.util.LinkedHashSet;
import java.util.Set;
import javax.persistence.*;
import javax.validation.constraints.Size;
import org.springframework.hateoas.ResourceSupport;
import org.springframework.web.bind.annotation.ResponseBody;
import com.aemreunal.helper.ImageProperties;
import com.aemreunal.helper.json.JsonBuilderFactory;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

    /*
     *------------------------------------------------------------
     * BEGIN: Region 'lastUpdateDate' attribute
     */
    @Column(name = "last_update_date", nullable = false)
    @Access(AccessType.PROPERTY)
    private Date lastUpdatedDate = null;
//    @LastModifiedDate
    /*
     * END: Region 'lastUpdateDate' attribute
     *------------------------------------------------------------
     */

    /*
     *------------------------------------------------------------
     * BEGIN: Constructors
     */
    public Region() {
        // Empty constructor for Spring & Hibernate
    }
    /*
     * END: Constructors
     *------------------------------------------------------------
     */

    /*
     *------------------------------------------------------------
     * BEGIN: Helpers
     */
// Path: src/main/java/com/aemreunal/helper/ImageProperties.java
// public class ImageProperties {
//     private final String imageFileName;
//     private final int    imageWidth;
//     private final int    imageHeight;
// 
//     public ImageProperties(String imageFileName, int imageWidth, int imageHeight) {
//         this.imageFileName = imageFileName;
//         this.imageWidth = imageWidth;
//         this.imageHeight = imageHeight;
//     }
// 
//     public String getImageFileName() {
//         return imageFileName;
//     }
// 
//     public int getImageWidth() {
//         return imageWidth;
//     }
// 
//     public int getImageHeight() {
//         return imageHeight;
//     }
// }
// 
// Path: src/main/java/com/aemreunal/helper/json/JsonBuilderFactory.java
// public class JsonBuilderFactory {
//     public static JsonObjectBuilder object() {
//         return new JsonObjectBuilder();
//     }
// 
//     public static JsonArrayBuilder array() {
//         return new JsonArrayBuilder();
//     }
// }


// Path: src/main/java/com/aemreunal/domain/Region.java
import net.minidev.json.JSONObject;
import java.io.Serializable;
import java.util.Date;
import java.util.LinkedHashSet;
import java.util.Set;
import javax.persistence.*;
import javax.validation.constraints.Size;
import org.springframework.hateoas.ResourceSupport;
import org.springframework.web.bind.annotation.ResponseBody;
import com.aemreunal.helper.ImageProperties;
import com.aemreunal.helper.json.JsonBuilderFactory;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


    /*
     *------------------------------------------------------------
     * BEGIN: Region 'lastUpdateDate' attribute
     */
    @Column(name = "last_update_date", nullable = false)
    @Access(AccessType.PROPERTY)
    private Date lastUpdatedDate = null;
//    @LastModifiedDate
    /*
     * END: Region 'lastUpdateDate' attribute
     *------------------------------------------------------------
     */

    /*
     *------------------------------------------------------------
     * BEGIN: Constructors
     */
    public Region() {
        // Empty constructor for Spring & Hibernate
    }
    /*
     * END: Constructors
     *------------------------------------------------------------
     */

    /*
     *------------------------------------------------------------
     * BEGIN: Helpers
     */
    public void setImageProperties(ImageProperties imageProperties) {