package grok.core;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.auto.value.AutoValue;

import org.mongojack.Id;

@AutoValue
public abstract class Region {
  public static final String COLLECTION = "regions";

  public static Builder create() {
    return new AutoValue_Region.Builder();
  }

  @Id
  @JsonProperty
  public abstract long getId();

  @JsonProperty
  public abstract String getName();

  @JsonProperty
  public abstract String getImage();

  @AutoValue.Builder
  public abstract static class Builder {
    Builder() {}

    public abstract Builder id(long value);

    @JsonProperty
    public abstract Builder name(String value);

    @JsonProperty
    public abstract Builder image(String value);

    public abstract Region build();
  }
}

@@ -600,34 +600,16 @@
 alue);%0A%0A
-    @JsonProperty%0A
     publ
@@ -653,26 +653,8 @@
 );%0A%0A
-    @JsonProperty%0A
     

Remove accidently copied annotations