package com.coding4people.mosquitoreport.api.models;

import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBAttribute;
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBHashKey;
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBRangeKey;
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBTable;

@DynamoDBTable(tableName = "focus")
public class Focus implements WithGuid {
    @DynamoDBHashKey
    private String guid;
    
    @DynamoDBRangeKey
    private String createat;
    
    @DynamoDBAttribute
    private String latlon;
    
    @DynamoDBAttribute
    private String notes;
    
    @DynamoDBAttribute
    private String thumbsup;
    
    public String getGuid() {
        return guid;
    }

    public void setGuid(String guid) {
        this.guid = guid;
    }
    
    public String getCreateat() {
        return createat;
    }
    
    public void setCreateat(String createat) {
        this.createat = createat;
    }
    
    public String getLatlon() {
        return latlon;
    }

    public void setLatlon(String latLon) {
        this.latlon = latLon;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public String getThumbsup() {
        return thumbsup;
    }

    public void setThumbsup(String thumbsup) {
        this.thumbsup = thumbsup;
    }
}

@@ -331,16 +331,68 @@
 DBTable;
+%0Aimport com.fasterxml.jackson.annotation.JsonIgnore;
 %0A%0A@Dynam
@@ -731,24 +731,87 @@
 mbsup;%0A    %0A
+    @DynamoDBAttribute%0A    private String authoruserguid;%0A    %0A
     public S
@@ -1481,24 +1481,24 @@
 thumbsup) %7B%0A
-
         this
@@ -1525,10 +1525,362 @@
 ;%0A    %7D%0A
+    %0A    @JsonIgnore%0A    public Focus thumbsup() %7B%0A        thumbsup = new Integer(Integer.parseInt(thumbsup) + 1).toString();%0A        %0A        return this;%0A    %7D%0A%0A    public String getAuthoruserguid() %7B%0A        return authoruserguid;%0A    %7D%0A%0A    public void setAuthoruserguid(String authoruserguid) %7B%0A        this.authoruserguid = authoruserguid;%0A    %7D%0A
 %7D%0A

Add authoruserguid and thumbsup to Focus model